summaryrefslogtreecommitdiff
path: root/configmgr
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 /configmgr
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 'configmgr')
-rw-r--r--configmgr/source/type.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/type.cxx b/configmgr/source/type.cxx
index 329762313f30..aab5d0f86cd5 100644
--- a/configmgr/source/type.cxx
+++ b/configmgr/source/type.cxx
@@ -99,7 +99,7 @@ css::uno::Type const & mapType(Type type) {
}
Type getDynamicType(css::uno::Any const & value) {
- switch (value.getValueType().getTypeClass()) {
+ switch (value.getValueTypeClass()) {
case css::uno::TypeClass_VOID:
return TYPE_NIL;
case css::uno::TypeClass_BOOLEAN:
@@ -125,7 +125,7 @@ Type getDynamicType(css::uno::Any const & value) {
return TYPE_STRING;
case css::uno::TypeClass_SEQUENCE: //TODO
{
- OUString name(value.getValueType().getTypeName());
+ OUString name(value.getValueTypeName());
if ( name == "[]byte" ) {
return TYPE_HEXBINARY;
} else if (name == "[]boolean")