diff options
Diffstat (limited to 'oox/source/vml')
-rw-r--r-- | oox/source/vml/vmldrawing.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx index 6fa26118f246..d8fccb56ff30 100644 --- a/oox/source/vml/vmldrawing.cxx +++ b/oox/source/vml/vmldrawing.cxx @@ -282,9 +282,9 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService, } xShape->setSize( awt::Size( rShapeRect.Width, rShapeRect.Height ) ); } - catch( Exception& e ) + catch( const Exception& ) { - SAL_WARN( "oox", "Drawing::createAndInsertXShape - error during shape object creation: " << e ); + TOOLS_WARN_EXCEPTION( "oox", "Drawing::createAndInsertXShape - error during shape object creation" ); } OSL_ENSURE( xShape.is(), "Drawing::createAndInsertXShape - cannot instantiate shape object" ); return xShape; |