[Libreoffice-commits] core.git: extensions/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Wed Apr 22 14:25:30 UTC 2020


 extensions/source/config/ldap/ldapuserprofilebe.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9d11ad2e7b77c36fd6759d2963f4e28a8c511680
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Apr 22 09:55:06 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Apr 22 16:24:55 2020 +0200

    Typo kServerDefiniton->kServerDefinition (extensions/ldap)
    
    Change-Id: I7d6ad76de91243e5f5d278bab5df171a5924d3d2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92672
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index e5272711e51d..897965ab64a9 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -89,7 +89,7 @@ bool LdapUserProfileBe::readLdapConfiguration(
     OSL_ASSERT(context.is() && definition != nullptr && loggedOnUser != nullptr);
     const OUString kReadOnlyViewService("com.sun.star.configuration.ConfigurationAccess") ;
     const OUString kComponent("org.openoffice.LDAP/UserDirectory");
-    const OUString kServerDefiniton("ServerDefinition");
+    const OUString kServerDefinition("ServerDefinition");
     const OUString kServer("Server");
     const OUString kPort("Port");
     const OUString kBaseDN("BaseDN");
@@ -112,7 +112,7 @@ bool LdapUserProfileBe::readLdapConfiguration(
         xIface = xCfgProvider->createInstanceWithArguments(kReadOnlyViewService, aArgs);
 
         uno::Reference<container::XNameAccess > xAccess(xIface, uno::UNO_QUERY_THROW);
-        xAccess->getByName(kServerDefiniton) >>= xIface;
+        xAccess->getByName(kServerDefinition) >>= xIface;
 
         uno::Reference<container::XNameAccess > xChildAccess(xIface, uno::UNO_QUERY_THROW);
 


More information about the Libreoffice-commits mailing list