[Libreoffice-commits] core.git: tools/source
Tor Lillqvist
tml at collabora.com
Thu Jan 16 13:23:37 PST 2014
tools/source/debug/debug.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 38b4030703e83c0a8e239ccd05a99d1f904b1acf
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Jan 16 23:22:44 2014 +0200
Avoid warnings: unused parameter
Change-Id: I92fd33e020772eac735f133f467207da9635e9b4
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 4a148b4..81311af 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -1590,7 +1590,11 @@ void DbgOutf( const sal_Char*, ... ) {}
TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any & caught, const char* currentFunction, const char* fileAndLineNo)
{
-#if OSL_DEBUG_LEVEL > 0
+#if OSL_DEBUG_LEVEL == 0
+ (void) caught;
+ (void) currentFunction;
+ (void) fileAndLineNo;
+#else
OString sMessage( "caught an exception!" );
sMessage += "\nin function:";
sMessage += currentFunction;
More information about the Libreoffice-commits
mailing list