diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-09 00:20:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-09 17:37:01 +0100 |
commit | 5f78685ebf4be192cbf5168424e5ca98bbe48d6f (patch) | |
tree | aa6db639f48399516faf65dd53dc2e07587f6f96 /oox/source/vml/vmldrawing.cxx | |
parent | 8cd6a947d92a5657e4133693df5392c34bf115ca (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.cxx | 3 |
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; } |