summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/textfield.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/drawingml/textfield.cxx')
-rw-r--r--oox/source/drawingml/textfield.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/oox/source/drawingml/textfield.cxx b/oox/source/drawingml/textfield.cxx
index a3e2bf4948c6..713c5a745b3d 100644
--- a/oox/source/drawingml/textfield.cxx
+++ b/oox/source/drawingml/textfield.cxx
@@ -33,6 +33,7 @@
#include <oox/core/xmlfilterbase.hxx>
#include <drawingml/textparagraphproperties.hxx>
#include <drawingml/textcharacterproperties.hxx>
+#include <tools/diagnose_ex.h>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -234,7 +235,8 @@ sal_Int32 TextField::insertAt(
}
catch( const Exception& )
{
- SAL_WARN("oox", "OOX: TextField::insertAt() exception");
+ css::uno::Any ex( cppu::getCaughtException() );
+ SAL_WARN("oox", "OOX: TextField::insertAt() exception " << exceptionToString(ex));
}
return nCharHeight;