summaryrefslogtreecommitdiffstats
path: root/scripting/examples/java
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 /scripting/examples/java
parentmake install or install-strip hardly make sense on OS X (diff)
downloadcore-c6a73009747814513ab5a7277c211449c7378870.tar.gz
core-c6a73009747814513ab5a7277c211449c7378870.zip
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 'scripting/examples/java')
-rw-r--r--scripting/examples/java/Highlight/HighlightText.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/examples/java/Highlight/HighlightText.java b/scripting/examples/java/Highlight/HighlightText.java
index 176b185b5064..99af06f25468 100644
--- a/scripting/examples/java/Highlight/HighlightText.java
+++ b/scripting/examples/java/Highlight/HighlightText.java
@@ -223,7 +223,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener {
}
String libURL = xme.expandMacros(
- "$BRAND_BASE_DIR/share/basic/ScriptBindingLibrary/" +
+ "$BRAND_BASE_DIR/$BRAND_SHARE_SUBDIR/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
System.err.println("libURL is: " + libURL);