summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorDuncan Foster <dfoster@openoffice.org>2003-10-17 10:22:24 +0000
committerDuncan Foster <dfoster@openoffice.org>2003-10-17 10:22:24 +0000
commit1ef37ae3e812cd0d5ab2ec65dd823532e8518b3a (patch)
treea9bd69c103ff6dc24bc6fa16d4eda087d637d63c /scripting
parent34cf06f6493deb58b7a1ba382d95fed6bd4b688e (diff)
#i21260# - use vnd.sun.star.script as scripting framework protocol
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/basprov/basmethnode.cxx7
-rw-r--r--scripting/source/protocolhandler/scripthandler.cxx8
2 files changed, 7 insertions, 8 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx
index 45c09f7f3203..573ad7b1a5ef 100644
--- a/scripting/source/basprov/basmethnode.cxx
+++ b/scripting/source/basprov/basmethnode.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basmethnode.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: npower $ $Date: 2003-10-15 08:35:31 $
+ * last change: $Author: dfoster $ $Date: 2003-10-17 11:22:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -95,11 +95,10 @@ namespace basprov
BasicMethodNodeImpl::BasicMethodNodeImpl( SbMethod* pMethod, bool isAppScript )
:m_pMethod( pMethod ), m_bIsAppScript( isAppScript )
{
- // TO DO ( needs changing to vnd...script::// syntax )
String sModName = m_pMethod->GetModule()->GetName();
String sLibName = m_pMethod->GetModule()->GetParent()->GetName();
String sMethName = m_pMethod->GetName();
- String sTmp = String::CreateFromAscii("script://");
+ String sTmp = String::CreateFromAscii("vnd.sun.star.script://");
sTmp += sLibName;
sTmp += '.';
sTmp += sModName;
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx
index 8a97fdb8d48b..149ba5c344b3 100644
--- a/scripting/source/protocolhandler/scripthandler.cxx
+++ b/scripting/source/protocolhandler/scripthandler.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scripthandler.cxx,v $
*
-* $Revision: 1.11 $
+* $Revision: 1.12 $
*
-* last change: $Author: dfoster $ $Date: 2003-08-19 11:38:28 $
+* last change: $Author: dfoster $ $Date: 2003-10-17 11:22:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -83,8 +83,8 @@ namespace scripting_protocolhandler
const sal_Char * const MYSERVICENAME = "com.sun.star.frame.ProtocolHandler";
const sal_Char * const MYIMPLNAME = "com.sun.star.comp.ScriptProtocolHandler";
-const sal_Char * MYSCHEME = "script:";
-const sal_Int32 MYSCHEME_LEN = 7;
+const sal_Char * MYSCHEME = "vnd.sun.star.script:";
+const sal_Int32 MYSCHEME_LEN = 20;
void SAL_CALL ScriptProtocolHandler::initialize(
const css::uno::Sequence < css::uno::Any >& aArguments )