summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/NumberingManager.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 15:37:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 20:03:33 +0200
commit697f8edbb0154ed72a42e4e8d7c4942cfe7dd59d (patch)
tree08ee9affc2b08b1d7fe4b9d5c96f192289531a8a /writerfilter/source/dmapper/NumberingManager.cxx
parent351b9aefe3de7c68e907fdc7926d9b508560320e (diff)
loplugin:logexceptionnicely in writerfilter
Change-Id: Ie01d0e6af6af0cfeb46cdde38f52ab068b64db6b Reviewed-on: https://gerrit.libreoffice.org/74284 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper/NumberingManager.cxx')
-rw-r--r--writerfilter/source/dmapper/NumberingManager.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx
index 666ee674cddc..e5bf229d174e 100644
--- a/writerfilter/source/dmapper/NumberingManager.cxx
+++ b/writerfilter/source/dmapper/NumberingManager.cxx
@@ -39,6 +39,7 @@
#include <osl/diagnose.h>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <comphelper/sequence.hxx>
#include <comphelper/propertyvalue.hxx>
@@ -624,19 +625,19 @@ void ListDef::CreateNumberingRules( DomainMapper& rDMapper,
OUString sNumRulesName = getPropertyName( PROP_NUMBERING_RULES );
xStyle->setPropertyValue( sNumRulesName, uno::makeAny( m_xNumRules ) );
}
- catch( const lang::IllegalArgumentException& e )
+ catch( const lang::IllegalArgumentException& )
{
- SAL_WARN( "writerfilter", e );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "" );
assert( !"Incorrect argument to UNO call" );
}
- catch( const uno::RuntimeException& e )
+ catch( const uno::RuntimeException& )
{
- SAL_WARN( "writerfilter", e );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "" );
assert( !"Incorrect argument to UNO call" );
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN( "writerfilter", e );
+ TOOLS_WARN_EXCEPTION( "writerfilter", "" );
}
}