From 2af65172af2cfc768e4f44507a02e1b17a9806ba Mon Sep 17 00:00:00 2001 From: Jürgen Schmidt Date: Thu, 18 Apr 2013 09:58:02 +0000 Subject: #121996# integrate first part to remove 3layer office --- scripting/examples/beanshell/Highlight/ShowDialog.bsh | 2 +- scripting/examples/java/Highlight/HighlightText.java | 2 +- scripting/examples/javascript/Highlight/ShowDialog.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripting/examples') diff --git a/scripting/examples/beanshell/Highlight/ShowDialog.bsh b/scripting/examples/beanshell/Highlight/ShowDialog.bsh index b224cc99de3c..b1226eb8b7bf 100644 --- a/scripting/examples/beanshell/Highlight/ShowDialog.bsh +++ b/scripting/examples/beanshell/Highlight/ShowDialog.bsh @@ -58,7 +58,7 @@ boolean tryLoadingLibrary( xmcf, context, name ) } libURL = xme.expandMacros( - "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + + "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + "/share/basic/ScriptBindingLibrary/" + name.toLowerCase() + ".xlb/"); diff --git a/scripting/examples/java/Highlight/HighlightText.java b/scripting/examples/java/Highlight/HighlightText.java index a60204531fc5..e277140b0e65 100644 --- a/scripting/examples/java/Highlight/HighlightText.java +++ b/scripting/examples/java/Highlight/HighlightText.java @@ -224,7 +224,7 @@ public class HighlightText implements com.sun.star.awt.XActionListener { } String libURL = xme.expandMacros( - "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + + "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + "/share/basic/ScriptBindingLibrary/" + name.toLowerCase() + ".xlb/"); diff --git a/scripting/examples/javascript/Highlight/ShowDialog.js b/scripting/examples/javascript/Highlight/ShowDialog.js index 2e4793b70dd4..5a6ca1f0f81e 100644 --- a/scripting/examples/javascript/Highlight/ShowDialog.js +++ b/scripting/examples/javascript/Highlight/ShowDialog.js @@ -52,7 +52,7 @@ function tryLoadingLibrary( xmcf, context, name ) } libURL = xme.expandMacros( - "${$BRAND_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + + "${$OOO_BASE_DIR/program/" + bootstrapName + "::BaseInstallation}" + "/share/basic/ScriptBindingLibrary/" + name.toLowerCase() + ".xlb/"); -- cgit