Kaydet (Commit) 7289f291 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant

Change-Id: I97c8075569eccf7ea1c32466ed592337ca7181c4
üst 2b8e62f7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment