summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartController_Properties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 09:31:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 10:49:55 +0200
commitbba7ca803cfcb316882c5f32cd28f0aa0c67591b (patch)
tree4a26499c6571bc24fc4d73782bf4c452a33bce6a /chart2/source/controller/main/ChartController_Properties.cxx
parenttdf#125904 Bullets and Numbering popupmenu sd modules (diff)
downloadcore-bba7ca803cfcb316882c5f32cd28f0aa0c67591b.tar.gz
core-bba7ca803cfcb316882c5f32cd28f0aa0c67591b.zip
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/main/ChartController_Properties.cxx')
-rw-r--r--chart2/source/controller/main/ChartController_Properties.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ChartController_Properties.cxx b/chart2/source/controller/main/ChartController_Properties.cxx
index 69fc84fdda90..32688d35cb95 100644
--- a/chart2/source/controller/main/ChartController_Properties.cxx
+++ b/chart2/source/controller/main/ChartController_Properties.cxx
@@ -59,6 +59,7 @@
#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <svx/ActionDescriptionProvider.hxx>
+#include <tools/diagnose_ex.h>
namespace chart
{
@@ -824,9 +825,9 @@ void ChartController::executeDispatch_View3D()
if (aDlg.run() == RET_OK)
aUndoGuard.commit();
}
- catch(const uno::RuntimeException& e)
+ catch(const uno::RuntimeException&)
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}