From cbce40e965acef51822b31d73da5fbc271fbcad0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 9 Jul 2015 08:50:37 +0200 Subject: Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug builds ...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d --- UnoControls/source/controls/progressmonitor.cxx | 3 --- UnoControls/source/inc/progressmonitor.hxx | 4 ---- 2 files changed, 7 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index 709ea0fe207b..5c0e5a789a93 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -869,7 +869,6 @@ IMPL_TextlistItem* ProgressMonitor::impl_searchTopic ( const OUString& rTopic, b } // debug methods -#ifdef DBG_UTIL // addText, updateText bool ProgressMonitor::impl_debug_checkParameter ( @@ -898,8 +897,6 @@ bool ProgressMonitor::impl_debug_checkParameter ( const OUString& rTopic, bool / return true; } -#endif // #ifdef DBG_UTIL - } // namespace unocontrols /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index e31492ad35a3..6a5feb201ba8 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -401,13 +401,9 @@ private: /**_______________________________________________________________________________________________________ */ - #ifdef DBG_UTIL - static bool impl_debug_checkParameter( const OUString& sTopic, const OUString& sText, bool bbeforeProgress ); // addText, updateText static bool impl_debug_checkParameter( const OUString& rTopic, bool bbeforeProgress ); // removeText - #endif - // private variables private: -- cgit v1.2.3