diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:51:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:51:36 +0100 |
commit | 9d94148b0429acf77880742c0569bbebddd794f9 (patch) | |
tree | c00c90f36e6703c437dc9057ab55cb624633c343 /desktop/source/app/cmdlinehelp.cxx | |
parent | bca00da68640bb052c1628270ce3924b7228d7b8 (diff) |
desktop: Use appropriate OUString functions on string constants
Change-Id: I5791c212a103fe9c2a5376545944a70454b28bdd
Diffstat (limited to 'desktop/source/app/cmdlinehelp.cxx')
-rw-r--r-- | desktop/source/app/cmdlinehelp.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/source/app/cmdlinehelp.cxx b/desktop/source/app/cmdlinehelp.cxx index dbec4e918f42..614fa5a99a89 100644 --- a/desktop/source/app/cmdlinehelp.cxx +++ b/desktop/source/app/cmdlinehelp.cxx @@ -139,11 +139,11 @@ namespace desktop { // if you put variables in other chunks don't forget to call the replace routines // for those chunks... - OUString aHelpMessage_version = OUString::createFromAscii(aCmdLineHelp_version); - OUString aHelpMessage_head = OUString::createFromAscii(aCmdLineHelp_head); - OUString aHelpMessage_left = OUString::createFromAscii(aCmdLineHelp_left); - OUString aHelpMessage_right = OUString::createFromAscii(aCmdLineHelp_right); - OUString aHelpMessage_bottom = OUString::createFromAscii(aCmdLineHelp_bottom); + OUString aHelpMessage_version(aCmdLineHelp_version); + OUString aHelpMessage_head(aCmdLineHelp_head); + OUString aHelpMessage_left(aCmdLineHelp_left); + OUString aHelpMessage_right(aCmdLineHelp_right); + OUString aHelpMessage_bottom(aCmdLineHelp_bottom); aHelpMessage_version = ReplaceStringHookProc(aHelpMessage_version); aHelpMessage_head = aHelpMessage_head.replaceFirst( "%CMDNAME", "soffice" ); if (!unknown.isEmpty()) |