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

Stephan Bergmann sbergman at redhat.com
Thu Sep 3 01:52:33 PDT 2015


 desktop/source/migration/migration.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c82672717b5f355bc406f0b5d78b5d6c5b9dd621
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 3 10:52:09 2015 +0200

    typo in prev. commit
    
    Change-Id: Ib23aeca54ddb61bb2ac49677d6ccaab6529cbae7

diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index 2b0a794..53a5e31 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -534,7 +534,7 @@ OUString MigrationImpl::preXDGConfigDir(const OUString& rConfigDir)
     // our user profiles, however *all* previous libreoffice and openoffice.org
     // configurations will be in the 'old' config directory and that's where we need
     // to search - we convert the returned config dir to the 'old' dir
-    if ( !pXDGCfgHome && rConfigDir.endsWit( XDG_CONFIG_PART )  )
+    if ( !pXDGCfgHome && rConfigDir.endsWith( XDG_CONFIG_PART )  )
         // remove trailing '.config/' but leave the terminating '/'
         aPreXDGConfigPath = rConfigDir.copy( 0, rConfigDir.getLength() - sizeof(  XDG_CONFIG_PART ) + 2 );
     else


More information about the Libreoffice-commits mailing list