diff options
Diffstat (limited to 'win/rfb_win32/CleanDesktop.cxx')
-rw-r--r-- | win/rfb_win32/CleanDesktop.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win/rfb_win32/CleanDesktop.cxx b/win/rfb_win32/CleanDesktop.cxx index 8e0b70bc..6634d445 100644 --- a/win/rfb_win32/CleanDesktop.cxx +++ b/win/rfb_win32/CleanDesktop.cxx @@ -173,7 +173,7 @@ void CleanDesktop::disableWallpaper() { ActiveDesktop ad; if (ad.enable(false)) restoreActiveDesktop = true; - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.error("%s", e.what()); } @@ -181,7 +181,7 @@ void CleanDesktop::disableWallpaper() { SysParamsInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) "", SPIF_SENDCHANGE); restoreWallpaper = true; - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.info("%s", e.what()); } } @@ -198,7 +198,7 @@ void CleanDesktop::enableWallpaper() { ActiveDesktop ad; ad.enable(true); restoreActiveDesktop = false; - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.error("%s", e.what()); } } @@ -211,7 +211,7 @@ void CleanDesktop::enableWallpaper() { restoreWallpaper = false; } - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.info("%s", e.what()); } } @@ -243,7 +243,7 @@ void CleanDesktop::disableEffects() { } restoreEffects = true; - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.info("%s", e.what()); } } @@ -268,7 +268,7 @@ void CleanDesktop::enableEffects() { restoreEffects = false; } - } catch (rdr::Exception& e) { + } catch (std::exception& e) { vlog.info("%s", e.what()); } } |