summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessiblePageShape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/accessibility/AccessiblePageShape.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx
index 21cf52790532..05d97557882f 100644
--- a/sd/source/ui/accessibility/AccessiblePageShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx
@@ -20,6 +20,7 @@
#include <AccessiblePageShape.hxx>
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/IAccessibleViewForwarder.hxx>
+#include <tools/diagnose_ex.h>
#include <tools/gen.hxx>
#include <sal/log.hxx>
@@ -201,7 +202,8 @@ sal_Int32 SAL_CALL AccessiblePageShape::getBackground()
}
catch (const css::beans::UnknownPropertyException&)
{
- SAL_WARN("sd", "caught exception due to unknown property");
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("sd", "caught exception due to unknown property " << exceptionToString(ex));
// Ignore exception and return default color.
}
return nColor;