summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/scopeguard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/scopeguard.cxx')
-rw-r--r--comphelper/source/misc/scopeguard.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/comphelper/source/misc/scopeguard.cxx b/comphelper/source/misc/scopeguard.cxx
index 6eeb7c8e166c..99e70581024b 100644
--- a/comphelper/source/misc/scopeguard.cxx
+++ b/comphelper/source/misc/scopeguard.cxx
@@ -33,8 +33,7 @@ ScopeGuard::~ScopeGuard()
}
catch (css::uno::Exception & exc) {
(void) exc; // avoid warning about unused variable
- OSL_FAIL( OUStringToOString( "UNO exception occurred: " + exc.Message,
- RTL_TEXTENCODING_UTF8 ).getStr() );
+ SAL_WARN( "comphelper", "UNO exception occurred: " << exc.Message );
}
catch (...) {
OSL_FAIL( "unknown exception occurred!" );