summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 8555feaef4c9..7d9ecd97b3c6 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -341,7 +341,7 @@ Any ComponentContext::lookupMap( OUString const & rName )
SAL_WARN(
"cppuhelper",
"exception occurred raising singleton \"" << rName << "\": "
- << exc.Message);
+ << exc);
}
SAL_WARN_IF(!xInstance.is(),
@@ -573,7 +573,7 @@ extern "C" { static void s_createComponentContext_v(va_list * pParam)
}
catch (Exception & exc)
{
- SAL_WARN( "cppuhelper", exc.Message );
+ SAL_WARN( "cppuhelper", exc );
xContext.clear();
}
}