diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 15:29:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-15 12:24:53 +0200 |
commit | 4466466a5c57a0d19ad8559ac699cf073f7e3e97 (patch) | |
tree | dba94658e41dcad542edd2f3f36a7ae8c0744eb1 /cui/source/dialogs/scriptdlg.cxx | |
parent | 5195c5bcd8be5f3b183659ead272cd86b8774cc1 (diff) |
loplugin:logexceptionnicely in cui
Change-Id: I0a3186b7f6d28725aff0e73d8f2cc4d5bc259a92
Reviewed-on: https://gerrit.libreoffice.org/74044
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/dialogs/scriptdlg.cxx')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 75e89daf48ec..564dc5920466 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -150,9 +150,9 @@ void SvxScriptOrgDialog::Init( const OUString& language ) children = rootNode->getChildNodes(); } } - catch( Exception& e ) + catch( const Exception& ) { - SAL_WARN("cui.dialogs", "Exception getting root browse node from factory: " << e ); + TOOLS_WARN_EXCEPTION("cui.dialogs", "Exception getting root browse node from factory"); // TODO exception handling } |