summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
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");
}
}
}