diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:54:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-26 13:55:34 +0200 |
commit | 99f4c12a6e75058587f779d52db77ba20f85dac8 (patch) | |
tree | c1fdbaabb11df5d9571e3aa9d5feebb3eb8356ac /sfx2/source/notify | |
parent | 85c6b88e74b4a6f058cc55c2ed2772699211ce66 (diff) |
loplugin:stringconstant: handle OUString+=OUString(literal)
Change-Id: I40b8e5df15d836a00536d9f21cd1125264aefd86
Diffstat (limited to 'sfx2/source/notify')
-rw-r--r-- | sfx2/source/notify/eventsupplier.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index b6ad3b1902d1..51ad4dc932a3 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -463,11 +463,8 @@ void SfxEvents_Impl::NormalizeMacro( const ::comphelper::NamedValueCollection& i { aScript = MACRO_PRFIX; if ( aLibrary != SfxGetpApp()->GetName() && aLibrary != "StarDesktop" && aLibrary != "application" ) - aScript += OUString('.'); - - aScript += OUString('/'); - aScript += aMacroName; - aScript += OUString( MACRO_POSTFIX ); + aScript += "."; + aScript += "/" + aMacroName + MACRO_POSTFIX; } else // wrong properties |