summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2003-10-15 07:39:02 +0000
committerNoel Power <npower@openoffice.org>2003-10-15 07:39:02 +0000
commitdfdc2e20a35846bc0c6c4c4081885ed3c136a2e0 (patch)
tree1d84c91a054bd5178faa1c986ce6a4d5cbf0dfcb /scripting
parenta2928d1e2ad0374d78795765273349811006ee00 (diff)
#i21211#
Changes to this class to make sure that the function name and logical name now return the same item
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/storage/ScriptURI.cxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/scripting/source/storage/ScriptURI.cxx b/scripting/source/storage/ScriptURI.cxx
index 7c51a9164541..988dfd11ccf2 100644
--- a/scripting/source/storage/ScriptURI.cxx
+++ b/scripting/source/storage/ScriptURI.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ScriptURI.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: npower $ $Date: 2003-03-05 18:24:11 $
+ * last change: $Author: npower $ $Date: 2003-10-15 08:39:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -168,7 +168,16 @@ void ScriptURI::set_values( scripting_impl::Uri values )
m_valid = values.valid;
m_location = values.location;
m_language = values.language;
- m_functionName = values.functionName;
+// format is script:://[function_name]?language=[languge]&location=[location]
+// LogicalName is now not used anymore, further more the ScriptURI class
+// will be retired also and a new UNO service will be used. Additionally the
+// parcel-description will also need to be modified to remove logical name
+// In order to temporarly support the existing code functionname is
+// set to the logica name parsed by this class. So getLogicalName() and
+// getFunctionName() return identical string.
+//
+
+ m_functionName = values.logicalName;
m_logicalName = values.logicalName;
}