cppuhelper/source/component_context.cxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
New commits: commit 4f7e948af4f6673b048b71228381572a5af4a8d8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Feb 18 10:56:00 2014 +0100 clean up Change-Id: I02fa1aea1070a6485b96a67f7d6f7f56c022bd9e diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index be4065d..f19e243 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -598,14 +598,12 @@ Any ComponentContext::lookupMap( OUString const & rName ) { throw; } - catch (Exception & exc) // rethrow as WrappedTargetRuntimeException + catch (Exception & exc) { - OUStringBuffer buf; - buf.append( "exception occurred raising singleton \"" ); - buf.append( rName ); - buf.append( "\": " ); - buf.append( exc.Message ); - SAL_WARN("cppuhelper", buf.makeStringAndClear()); + SAL_WARN( + "cppuhelper", + "exception occurred raising singleton \"" << rName << "\": " + << exc.Message); } SAL_WARN_IF(!xInstance.is(), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits