summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/shutdownicon.cxx6
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