summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-01-16 23:22:44 +0200
committerTor Lillqvist <tml@collabora.com>2014-01-16 23:22:44 +0200
commit38b4030703e83c0a8e239ccd05a99d1f904b1acf (patch)
tree273638b480d7a2ead1df5f0d214cb9c7088f34e9 /tools
parent2770bfd868ed3fe196038e50acf34d566bd25208 (diff)
Avoid warnings: unused parameter
Change-Id: I92fd33e020772eac735f133f467207da9635e9b4
Diffstat (limited to 'tools')
-rw-r--r--tools/source/debug/debug.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 4a148b483777..81311af237cd 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;