diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 13:12:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 19:57:59 +0200 |
commit | 8d234284d0ec0393e8d9d5057f68f48f33bc8d9d (patch) | |
tree | 7d08fffc27aa49ad3024afa8fa05418029457efd /oox/source/vml | |
parent | dc9d11e20aca4f7df7bd3d11d84e963ce4abf2bc (diff) |
loplugin:logexceptionnicely in linguistic..oox
Change-Id: I3f96494f5fecb2f1011578b768198c1204147202
Reviewed-on: https://gerrit.libreoffice.org/74099
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; |