summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/tbxcolor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/tbxcolor.cxx')
-rw-r--r--svx/source/tbxctrls/tbxcolor.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbxcolor.cxx b/svx/source/tbxctrls/tbxcolor.cxx
index 7112f7dada98..f2223e766909 100644
--- a/svx/source/tbxctrls/tbxcolor.cxx
+++ b/svx/source/tbxctrls/tbxcolor.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <sal/log.hxx>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
namespace svx
@@ -51,9 +52,10 @@ namespace svx
if ( xFrameProps.is() )
xFrameProps->getPropertyValue( PROPNAME_LAYOUTMANAGER ) >>= m_xLayouter;
}
- catch ( Exception& )
+ catch ( Exception const & )
{
- SAL_WARN( "svx.tbxcrtls", "ToolboxAccess::Ctor(): exception" );
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN( "svx.tbxcrtls", "ToolboxAccess::Ctor(): exception " << exceptionToString(ex) );
}
}
}