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 --- sax/source/tools/converter.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sax') diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx index 8b077f11360d..835ba489a6c6 100644 --- a/sax/source/tools/converter.cxx +++ b/sax/source/tools/converter.cxx @@ -1956,10 +1956,7 @@ void Converter::encodeBase64(OUStringBuffer& aStrBuffer, const uno::Sequence& aBuffer, const OUString& sBuffer) { -#if OSL_DEBUG_LEVEL > 0 - sal_Int32 nCharsDecoded = -#endif - decodeBase64SomeChars( aBuffer, sBuffer ); + sal_Int32 nCharsDecoded = decodeBase64SomeChars( aBuffer, sBuffer ); OSL_ENSURE( nCharsDecoded == sBuffer.getLength(), "some bytes left in base64 decoding!" ); } -- cgit