summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmldrawing.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-09 00:20:11 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-09 17:37:01 +0100
commit5f78685ebf4be192cbf5168424e5ca98bbe48d6f (patch)
treeaa6db639f48399516faf65dd53dc2e07587f6f96 /oox/source/vml/vmldrawing.cxx
parent8cd6a947d92a5657e4133693df5392c34bf115ca (diff)
oox: make things easier to debug by tracing exceptions
Change-Id: I05df8435874eb65f3acedaaea50b4910e9fc9111
Diffstat (limited to 'oox/source/vml/vmldrawing.cxx')
-rw-r--r--oox/source/vml/vmldrawing.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index 58eb29b15138..1406ebea48d5 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -253,8 +253,9 @@ Reference< XShape > Drawing::createAndInsertXControlShape( const ::oox::ole::Emb
// set the control model at the shape
Reference< XControlShape >( xShape, UNO_QUERY_THROW )->setControl( xCtrlModel );
}
- catch( Exception& )
+ catch (Exception const& e)
{
+ SAL_WARN("oox", "exception inserting Shape: " << e.Message);
}
return xShape;
}