diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-03-18 14:37:10 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-03-18 14:37:10 +0100 |
commit | 32feee91361deef53c3077f2baf941f37e7302d5 (patch) | |
tree | cf60ad07b7fb1ec89244cc080577b10add1fb5df /sd/source/ui/slideshow/PaneHider.cxx | |
parent | 7f2bd815816cf70719b5de8af78f1c86545fcc60 (diff) |
slidecopy: use DBG_UNHANDLED_EXCEPTION instead of OSL_ASSERT, as the former will also print you the exception type and message
Diffstat (limited to 'sd/source/ui/slideshow/PaneHider.cxx')
-rw-r--r-- | sd/source/ui/slideshow/PaneHider.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/PaneHider.cxx b/sd/source/ui/slideshow/PaneHider.cxx index a6b1241496ca..43d24395cdd4 100644 --- a/sd/source/ui/slideshow/PaneHider.cxx +++ b/sd/source/ui/slideshow/PaneHider.cxx @@ -45,6 +45,8 @@ #include <com/sun/star/drawing/framework/XConfiguration.hpp> #include <com/sun/star/lang/DisposedException.hpp> +#include <tools/diagnose_ex.h> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::drawing::framework; using ::sd::framework::FrameworkHelper; @@ -91,7 +93,7 @@ PaneHider::PaneHider (const ViewShell& rViewShell, SlideshowImpl* pSlideShow) } catch (RuntimeException&) { - DBG_ASSERT(false, "caught exception in PaneHider constructor"); + DBG_UNHANDLED_EXCEPTION(); } } |