diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 17:55:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-24 23:09:11 +0200 |
commit | c698cb4f2d7ad100b25e15558a7aef2314b44a99 (patch) | |
tree | b41f02df2d4b0a13ca8dced6799b9ee603ded9b1 | |
parent | 01c310876cd6066356938b0538862b4fe385434e (diff) |
Manually clean up some string concatenation
(that loplugin:stringadd didn't flag because of its conservative
isSideEffectFree check)
Change-Id: I109b1680a14540d8438eee82b45518e07611fdcd
Reviewed-on: https://gerrit.libreoffice.org/81464
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index c0153cb12c8f..727c06d1e1bf 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -619,11 +619,7 @@ bool ShutdownIcon::IsQuickstarterInstalled() #ifdef _WIN32 OUString ShutdownIcon::getShortcutName() { - OUString aShortcutName(SfxResId(STR_QUICKSTART_LNKNAME) + ".lnk"); - - OUString aShortcut(GetAutostartFolderNameW32()); - aShortcut += "\\" + aShortcutName; - return aShortcut; + return GetAutostartFolderNameW32() + "\\" + SfxResId(STR_QUICKSTART_LNKNAME) + ".lnk"; } #endif // _WIN32 #endif |