summaryrefslogtreecommitdiff
path: root/scripting/examples
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-21 17:18:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-24 13:59:58 +0200
commitb786a33cfdca2e8a4114ddef0340e0e0628dd09c (patch)
treea0adbba80933544e1912adeb29a8e79797b7fc1c /scripting/examples
parent3535ceeac6f1b4277279082998663feb84d05487 (diff)
Undo basis/brand split: Move SDK and ure-link, remove OOO_BASE_DIR and BaseInstallation.
Diffstat (limited to 'scripting/examples')
-rwxr-xr-xscripting/examples/beanshell/Highlight/ShowDialog.bsh3
-rwxr-xr-xscripting/examples/java/Highlight/HighlightText.java3
-rwxr-xr-xscripting/examples/javascript/Highlight/ShowDialog.js3
3 files changed, 3 insertions, 6 deletions
diff --git a/scripting/examples/beanshell/Highlight/ShowDialog.bsh b/scripting/examples/beanshell/Highlight/ShowDialog.bsh
index e632c8f212c0..c7c4ab49aefc 100755
--- a/scripting/examples/beanshell/Highlight/ShowDialog.bsh
+++ b/scripting/examples/beanshell/Highlight/ShowDialog.bsh
@@ -38,8 +38,7 @@ boolean tryLoadingLibrary( xmcf, context, name )
}
libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
- "/share/basic/ScriptBindingLibrary/" +
+ "$BRAND_BASE_DIR/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
System.err.println("libURL is: " + libURL);
diff --git a/scripting/examples/java/Highlight/HighlightText.java b/scripting/examples/java/Highlight/HighlightText.java
index 53c98fdb177b..14a02e397270 100755
--- a/scripting/examples/java/Highlight/HighlightText.java
+++ b/scripting/examples/java/Highlight/HighlightText.java
@@ -203,8 +203,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener {
}
String libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
- "/share/basic/ScriptBindingLibrary/" +
+ "$BRAND_BASE_DIR/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
System.err.println("libURL is: " + libURL);
diff --git a/scripting/examples/javascript/Highlight/ShowDialog.js b/scripting/examples/javascript/Highlight/ShowDialog.js
index a6f9759d9a18..fa6838c14053 100755
--- a/scripting/examples/javascript/Highlight/ShowDialog.js
+++ b/scripting/examples/javascript/Highlight/ShowDialog.js
@@ -32,8 +32,7 @@ function tryLoadingLibrary( xmcf, context, name )
}
libURL = xme.expandMacros(
- "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" +
- "/share/basic/ScriptBindingLibrary/" +
+ "$BRAND_BASE_DIR/share/basic/ScriptBindingLibrary/" +
name.toLowerCase() + ".xlb/");
System.err.println("libURL is: " + libURL);