summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-31 18:17:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-31 18:17:03 +0200
commit94d9d895edac0b99e0fbc94ff7763292af1fdc5b (patch)
treef3806cd6e5c2acd1fb74f97451ddb719406c35f4 /toolkit
parent967e9e6bbb36eb925c14b43b9baff541d82ee4c0 (diff)
Remove some unnecessary scaffolding around SAL_WARN calls
Change-Id: Iaec105d85a283ad15fdca6ffc5cf3d2ec5acac18
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrols.cxx8
1 files changed, 0 insertions, 8 deletions
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
}
}
}