summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shutdownicon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/shutdownicon.cxx')
-rw-r--r--sfx2/source/appl/shutdownicon.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx
index da6a2188df32..581404b7b489 100644
--- a/sfx2/source/appl/shutdownicon.cxx
+++ b/sfx2/source/appl/shutdownicon.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_folders.h>
+
#include <shutdownicon.hxx>
#include <app.hrc>
#include <sfx2/app.hxx>
@@ -860,7 +862,7 @@ void ShutdownIcon::SetAutostart( bool bActivate )
#else // UNX
getAutostartDir( true );
- OUString aPath( "${BRAND_BASE_DIR}/share/xdg/qstart.desktop" );
+ OUString aPath( "${BRAND_BASE_DIR}/" LIBO_SHARE_FOLDER "/xdg/qstart.desktop" );
Bootstrap::expandMacros( aPath );
OUString aDesktopFile;