From 56f3dbffdf5b3264c1c71201733e3ff6bb5e48cb Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 7 Nov 2024 01:07:51 +0500 Subject: Simplify a bit Change-Id: I618b0f8bcb2e8032ee12367c73e1136685f66b3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176183 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- desktop/source/deployment/manager/dp_manager.cxx | 2 +- desktop/source/deployment/registry/dp_backend.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source') diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 574470068da1..99996531af5e 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -441,7 +441,7 @@ Reference PackageManagerImpl::create( Any exc( ::cppu::getCaughtException() ); throw lang::WrappedTargetRuntimeException( ("[context=\"" + context + "\"] caught unexpected " - + exc.getValueType().getTypeName() + ": " + e.Message), + + exc.getValueTypeName() + ": " + e.Message), Reference(), exc ); } } diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 4071fee4600b..9ffa9e1607d9 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -663,7 +663,7 @@ void Package::processPackage_impl( (doRegisterPackage ? DpResId(RID_STR_ERROR_WHILE_REGISTERING) : DpResId(RID_STR_ERROR_WHILE_REVOKING)) - + getDisplayName() + ": " + exc.getValueType().getTypeName() + " \"" + e.Message + + getDisplayName() + ": " + exc.getValueTypeName() + " \"" + e.Message + "\"", static_cast(this), exc ); } -- cgit