diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-09 08:50:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-13 18:14:11 +0200 |
commit | cbce40e965acef51822b31d73da5fbc271fbcad0 (patch) | |
tree | bad77c67c68055f7597b8ecf1df1b74e778873cf /shell/source/win32/ooofilereader/basereader.cxx | |
parent | 429280541ff1fbbbf3f0482211a659c96c3347d2 (diff) |
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
Diffstat (limited to 'shell/source/win32/ooofilereader/basereader.cxx')
-rw-r--r-- | shell/source/win32/ooofilereader/basereader.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/source/win32/ooofilereader/basereader.cxx b/shell/source/win32/ooofilereader/basereader.cxx index 91860d81906e..503aed093539 100644 --- a/shell/source/win32/ooofilereader/basereader.cxx +++ b/shell/source/win32/ooofilereader/basereader.cxx @@ -79,11 +79,7 @@ void CBaseReader::Initialize( const std::string& ContentName) parser.parse(&m_ZipContent[0], m_ZipContent.size()); } } - catch(std::exception& - #if OSL_DEBUG_LEVEL > 0 - ex - #endif - ) + catch(std::exception& ex) { OSL_ENSURE( false, ex.what() ); } |