diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 09:31:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 10:49:55 +0200 |
commit | bba7ca803cfcb316882c5f32cd28f0aa0c67591b (patch) | |
tree | 4a26499c6571bc24fc4d73782bf4c452a33bce6a /chart2/source/controller/drawinglayer | |
parent | af37bb23f63b209af1193e20177c3aacbd777543 (diff) |
loplugin:logexceptionnicely in chart2
Change-Id: Ib7933723e5506578bbc85cc431d54d1ed8466376
Reviewed-on: https://gerrit.libreoffice.org/74019
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-rw-r--r-- | chart2/source/controller/drawinglayer/ViewElementListProvider.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx index 52b122f909c4..5ed463ca3f76 100644 --- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx +++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx @@ -34,6 +34,7 @@ #include <svx/svdview.hxx> #include <svx/svdpage.hxx> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> namespace chart { @@ -128,9 +129,9 @@ SdrObjList* ViewElementListProvider::GetSymbolList() const if (pSdrObject) pSymbolList = pSdrObject->GetSubList(); } - catch( const uno::Exception& e ) + catch( const uno::Exception& ) { - SAL_WARN("chart2", "Exception caught. " << e ); + TOOLS_WARN_EXCEPTION("chart2", "" ); } return pSymbolList; } |