summaryrefslogtreecommitdiff
path: root/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2003-01-28 10:52:17 +0000
committerNoel Power <npower@openoffice.org>2003-01-28 10:52:17 +0000
commit870638f3a5db7ccecd5a5338b59bcbb9d130e63c (patch)
tree5ee1f20a72d28510344ceedcec9d0c781d8094b0 /scripting/source/runtimemgr/ScriptNameResolverImpl.cxx
parent80965be16be2edd8a1c717df9b27d9b3b22927a4 (diff)
Changes to reflect api change (in XScriptNameResolver.idl, method resolve now returns a XScriptInfo)
Diffstat (limited to 'scripting/source/runtimemgr/ScriptNameResolverImpl.cxx')
-rw-r--r--scripting/source/runtimemgr/ScriptNameResolverImpl.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx
index 8376ead1b5f3..99c9241a641f 100644
--- a/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx
+++ b/scripting/source/runtimemgr/ScriptNameResolverImpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ScriptNameResolverImpl.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: dfoster $ $Date: 2003-01-27 17:18:27 $
+ * last change: $Author: npower $ $Date: 2003-01-28 11:52:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -132,12 +132,12 @@ ScriptNameResolverImpl::~ScriptNameResolverImpl()
}
//*************************************************************************
-Reference< XInterface > ScriptNameResolverImpl::resolve(
+Reference< storage::XScriptInfo > ScriptNameResolverImpl::resolve(
const ::rtl::OUString & scriptURI, Any& invocationCtx )
throw ( lang::IllegalArgumentException, script::CannotConvertException, RuntimeException )
{
- Reference< XInterface > resolvedName;
+ Reference< storage::XScriptInfo > resolvedName;
Reference< beans::XPropertySet > xPropSetScriptingContext;
scripting_constants::ScriptingConstantsPool& scriptingConstantsPool =
scripting_constants::ScriptingConstantsPool::instance();
@@ -301,12 +301,12 @@ throw( RuntimeException )
//*************************************************************************
-Reference< XInterface >
+Reference< storage::XScriptInfo >
ScriptNameResolverImpl::resolveURIFromStorageID
( sal_Int32 sid, const ::rtl::OUString& scriptURI )
SAL_THROW ( ( lang::IllegalArgumentException, RuntimeException ) )
{
- Reference< XInterface > resolvedScriptInfo;
+ Reference< storage::XScriptInfo > resolvedScriptInfo;
scripting_constants::ScriptingConstantsPool& scriptingConstantsPool =
scripting_constants::ScriptingConstantsPool::instance();
if ( sid == scriptingConstantsPool.DOC_STORAGE_ID_NOT_SET )