diff options
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/documentinfo.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/logging.cxx | 1 | ||||
-rw-r--r-- | comphelper/source/misc/scopeguard.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/threadpool.cxx | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx index e309da6d74ed..b63450590554 100644 --- a/comphelper/source/misc/documentinfo.cxx +++ b/comphelper/source/misc/documentinfo.cxx @@ -150,7 +150,7 @@ namespace comphelper { css::uno::Exception exception; caught >>= exception; SAL_WARN( "comphelper", "caught an exception!\ntype : " << caught.getValueTypeName() - << "\nmessage: " << exception.Message + << "\nmessage: " << exception << "\nin function:\n" << OSL_THIS_FUNC); } diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx index 3744d9580727..e08d9d540a99 100644 --- a/comphelper/source/misc/logging.cxx +++ b/comphelper/source/misc/logging.cxx @@ -164,5 +164,4 @@ namespace comphelper } } // namespace comphelper - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/comphelper/source/misc/scopeguard.cxx b/comphelper/source/misc/scopeguard.cxx index 2224c0993fff..d1f48f959fd2 100644 --- a/comphelper/source/misc/scopeguard.cxx +++ b/comphelper/source/misc/scopeguard.cxx @@ -32,7 +32,7 @@ ScopeGuard::~ScopeGuard() m_func(); } catch (css::uno::Exception & exc) { - SAL_WARN( "comphelper", "UNO exception occurred: " << exc.Message ); + SAL_WARN( "comphelper", "UNO exception occurred: " << exc ); } catch (...) { OSL_FAIL( "unknown exception occurred!" ); diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx index 7368544a14b1..23e363213206 100644 --- a/comphelper/source/misc/threadpool.cxx +++ b/comphelper/source/misc/threadpool.cxx @@ -268,7 +268,7 @@ void ThreadTask::execAndDelete() } catch (const css::uno::Exception &e) { - SAL_WARN("comphelper", "exception in thread worker while calling doWork(): " << e.Message); + SAL_WARN("comphelper", "exception in thread worker while calling doWork(): " << e); } delete this; |