desktop/source/migration/migration.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7289f291fe6a43487c7edeb2b14169cc3a0d6694 Author: Stephan Bergmann <[email protected]> Date: Thu Sep 3 10:47:52 2015 +0200 loplugin:stringconstant Change-Id: I97c8075569eccf7ea1c32466ed592337ca7181c4 diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index c4dcec2..2b0a794 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.endsWithAsciiL( XDG_CONFIG_PART, sizeof( XDG_CONFIG_PART ) - 1 ) ) + if ( !pXDGCfgHome && rConfigDir.endsWit( XDG_CONFIG_PART ) ) // remove trailing '.config/' but leave the terminating '/' aPreXDGConfigPath = rConfigDir.copy( 0, rConfigDir.getLength() - sizeof( XDG_CONFIG_PART ) + 2 ); else _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
