summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/unx/sysplug.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-16 11:08:32 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-18 21:11:16 +0300
commitc6a73009747814513ab5a7277c211449c7378870 (patch)
tree2adc961b3c83deffcea251c41744f2626e476f38 /extensions/source/plugin/unx/sysplug.cxx
parent18041138d3169d565755565bdbabd8de596b5ac7 (diff)
Use subfolder names from <config_folders.h>
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
Diffstat (limited to 'extensions/source/plugin/unx/sysplug.cxx')
-rw-r--r--extensions/source/plugin/unx/sysplug.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/sysplug.cxx b/extensions/source/plugin/unx/sysplug.cxx
index d7140f1d3fb4..e20caa491c75 100644
--- a/extensions/source/plugin/unx/sysplug.cxx
+++ b/extensions/source/plugin/unx/sysplug.cxx
@@ -26,6 +26,7 @@
*
************************************************************************/
+#include <config_folders.h>
#ifdef AIX
#define _LINUX_SOURCE_COMPAT
@@ -136,7 +137,7 @@ UnxPluginComm::~UnxPluginComm()
bool UnxPluginComm::getPluginappPath(OString * path) {
OSL_ASSERT(path != NULL);
- OUString p("$BRAND_BASE_DIR/program/pluginapp.bin");
+ OUString p("$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER "/pluginapp.bin");
rtl::Bootstrap::expandMacros(p);
return
(osl::FileBase::getSystemPathFromFileURL(p, p) ==