diff options
-rw-r--r-- | tools/source/debug/debug.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index 093622ec51f7..9e65c44fa9e6 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -324,20 +324,7 @@ TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any & caught, const c } if ( exception.Context.is() ) { -#if defined __clang__ -#if __has_warning("-Wunused-value") -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-value" - // "expression with side effects will be evaluated despite being used as an - // operand to 'typeid'" -#endif -#endif const char* pContext = typeid( *exception.Context.get() ).name(); -#if defined __clang__ -#if __has_warning("-Wunused-value") -#pragma GCC diagnostic pop -#endif -#endif sMessage += "\ncontext: "; sMessage += pContext; } |