summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/textrun.cxx')
-rw-r--r--oox/source/drawingml/textrun.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/drawingml/textrun.cxx b/oox/source/drawingml/textrun.cxx
index 5bcdd262390b..9d80e0517816 100644
--- a/oox/source/drawingml/textrun.cxx
+++ b/oox/source/drawingml/textrun.cxx
@@ -32,6 +32,7 @@
#include <oox/core/xmlfilterbase.hxx>
#include <oox/token/properties.hxx>
#include <oox/token/tokens.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::text;
@@ -175,7 +176,8 @@ sal_Int32 TextRun::insertAt(
}
catch( const Exception& )
{
- SAL_WARN("oox", "OOX: TextRun::insertAt() exception");
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("oox", "OOX: TextRun::insertAt() exception " << exceptionToString(ex));
}
return nCharHeight;