summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 09:33:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-18 10:31:43 +0200
commit70accc2904edb5c4aa9b5acb7ff2889a77717b75 (patch)
treef6b8aa6e318694b8fe81b40abcf115e4fe54230f /toolkit
parentb8775ff8961dbe589799ac7f59427a8e5d07ac72 (diff)
loplugin:logexceptionnicely in toolkit..unoxml
Change-Id: I0a3126545f9ef98640f6dd166290e9b9e91b8355 Reviewed-on: https://gerrit.libreoffice.org/74244 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrols.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 937b05745273..e6ec3492bb74 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -2884,9 +2884,9 @@ void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
maItemListeners.itemStateChanged( rEvent );
}
- catch( const Exception& e )
+ catch( const Exception& )
{
- SAL_WARN( "toolkit", "UnoListBoxControl::itemStateChanged: caught " << e);
+ TOOLS_WARN_EXCEPTION( "toolkit", "UnoListBoxControl::itemStateChanged");
}
}
}
@@ -3222,9 +3222,9 @@ void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent )
{
maItemListeners.itemStateChanged( rEvent );
}
- catch( const Exception& e )
+ catch( const Exception& )
{
- SAL_WARN( "toolkit", "UnoComboBoxControl::itemStateChanged: caught " << e);
+ TOOLS_WARN_EXCEPTION( "toolkit", "UnoComboBoxControl::itemStateChanged");
}
}
}