summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-07 01:07:51 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-08 05:34:20 +0100
commit56f3dbffdf5b3264c1c71201733e3ff6bb5e48cb (patch)
treee00509b726c470c3e97de33feb8545c5bca12041 /desktop/source
parent27f7770e3e9be60b0caef8469666474151a753fb (diff)
Simplify a bit
Change-Id: I618b0f8bcb2e8032ee12367c73e1136685f66b3e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176183 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/manager/dp_manager.cxx2
-rw-r--r--desktop/source/deployment/registry/dp_backend.cxx2
2 files changed, 2 insertions, 2 deletions
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<deployment::XPackageManager> PackageManagerImpl::create(
Any exc( ::cppu::getCaughtException() );
throw lang::WrappedTargetRuntimeException(
("[context=\"" + context + "\"] caught unexpected "
- + exc.getValueType().getTypeName() + ": " + e.Message),
+ + exc.getValueTypeName() + ": " + e.Message),
Reference<XInterface>(), 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<OWeakObject *>(this), exc );
}