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 --- cppu/source/uno/lbenv.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'cppu/source') diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 66524fed05a6..f1da22410afa 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -408,9 +408,7 @@ static void SAL_CALL s_stub_defenv_revokeInterface(va_list * pParam) { // proxy ptr not registered for another interface: // remove from ptr map -#if OSL_DEBUG_LEVEL > 0 ::std::size_t erased = -#endif that->aPtr2ObjectMap.erase( pInterface ); OSL_ASSERT( erased == 1 ); } -- cgit