From c82672717b5f355bc406f0b5d78b5d6c5b9dd621 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann <sbergman@redhat.com> Date: Thu, 3 Sep 2015 10:52:09 +0200 Subject: typo in prev. commit Change-Id: Ib23aeca54ddb61bb2ac49677d6ccaab6529cbae7 --- desktop/source/migration/migration.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 2b0a794e5bee..53a5e312a9de 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 -- cgit