summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/backingwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/backingwindow.cxx')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 45dd2af33006..d3fad16db845 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -44,6 +44,7 @@
#include <comphelper/propertysequence.hxx>
#include <toolkit/awt/vclxmenu.hxx>
+#include <tools/diagnose_ex.h>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
@@ -130,9 +131,10 @@ BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
{
mxContext.set( ::comphelper::getProcessComponentContext(), uno::UNO_SET_THROW );
}
- catch (const Exception& e)
+ catch (const Exception&)
{
- SAL_WARN( "fwk", "BackingWindow - caught an exception! " << e );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN( "fwk", "BackingWindow - caught an exception! " << exceptionToString(ex) );
}
// fdo#34392: we do the layout dynamically, the layout depends on the font,