summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 12:20:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 15:26:09 +0200
commita1c62cfc605a35f82dba4d9bfa47ab065e47cd99 (patch)
treecf3c0a434101fd9d902042aa89bc6fb6aaadeaa6 /extensions
parent9c1c80bc9f679130939fccd251559c27abf675c8 (diff)
Just use Any ctor instead of makeAny (macOS)
Change-Id: I6c185eecf943205f78567393f0ef588580ee4dab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133821 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/config/ldap/ldapuserprofilebe.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index 41fbe634cc34..2012afd8bbc5 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -93,7 +93,7 @@ bool LdapUserProfileBe::readLdapConfiguration(
uno::Reference< lang::XMultiServiceFactory > xCfgProvider(
css::configuration::theDefaultProvider::get(context));
- css::beans::NamedValue aPath("nodepath", uno::makeAny(OUString("org.openoffice.LDAP/UserDirectory")) );
+ css::beans::NamedValue aPath("nodepath", uno::Any(OUString("org.openoffice.LDAP/UserDirectory")) );
uno::Sequence< uno::Any > aArgs{ uno::Any(aPath) };
@@ -172,16 +172,16 @@ css::uno::Any LdapUserProfileBe::getPropertyValue(
}
LdapData::iterator k(data_.find(PropertyName.copy(i, j - i)));
if (k != data_.end()) {
- return css::uno::makeAny(
+ return css::uno::Any(
css::beans::Optional< css::uno::Any >(
- true, css::uno::makeAny(k->second)));
+ true, css::uno::Any(k->second)));
}
if (j == PropertyName.getLength()) {
break;
}
i = j + 1;
}
- return css::uno::makeAny(css::beans::Optional< css::uno::Any >());
+ return css::uno::Any(css::beans::Optional< css::uno::Any >());
}