From 94d9d895edac0b99e0fbc94ff7763292af1fdc5b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 31 May 2017 18:17:03 +0200 Subject: Remove some unnecessary scaffolding around SAL_WARN calls Change-Id: Iaec105d85a283ad15fdca6ffc5cf3d2ec5acac18 --- toolkit/source/controls/unocontrols.cxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'toolkit/source') diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 88618b87af8b..bf131832726e 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -2931,11 +2931,7 @@ void UnoListBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) } catch( const Exception& e ) { -#if OSL_DEBUG_LEVEL == 0 - (void) e; // suppress warning -#else SAL_WARN( "toolkit", "UnoListBoxControl::itemStateChanged: caught an exception: " << e.Message); -#endif } } } @@ -3271,11 +3267,7 @@ void UnoComboBoxControl::itemStateChanged( const awt::ItemEvent& rEvent ) } catch( const Exception& e ) { -#if OSL_DEBUG_LEVEL == 0 - (void) e; // suppress warning -#else SAL_WARN( "toolkit", "UnoComboBoxControl::itemStateChanged: caught an exception: " << e.Message); -#endif } } } -- cgit