diff options
author | Noel Power <npower@openoffice.org> | 2002-10-16 07:33:27 +0000 |
---|---|---|
committer | Noel Power <npower@openoffice.org> | 2002-10-16 07:33:27 +0000 |
commit | 10329e13f1d7ccd3eba4ec0f5b5d5f6074a1281a (patch) | |
tree | f08db3a583b93e67feb795d5e672f036d4e5c590 /scripting/source/runtimemgr/StorageBridge.cxx | |
parent | 5b09e4c4dff433433882e40f7dc5f892f4c28f9b (diff) |
Added new method to XScriptImplAccess "getScriptLogicalNames".
Added implementation to ScriptStorage and StorageBridge implementations
Diffstat (limited to 'scripting/source/runtimemgr/StorageBridge.cxx')
-rw-r--r-- | scripting/source/runtimemgr/StorageBridge.cxx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/scripting/source/runtimemgr/StorageBridge.cxx b/scripting/source/runtimemgr/StorageBridge.cxx index 17f3d488a634..2a52680231ec 100644 --- a/scripting/source/runtimemgr/StorageBridge.cxx +++ b/scripting/source/runtimemgr/StorageBridge.cxx @@ -2,9 +2,9 @@ * * $RCSfile: StorageBridge.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jmrice $ $Date: 2002-09-27 12:16:26 $ + * last change: $Author: npower $ $Date: 2002-10-16 08:33:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -144,6 +144,26 @@ StorageBridge::initStorage() throw ( ::com::sun::star::uno::RuntimeException ) } } //************************************************************************* +Sequence< ::rtl::OUString > +StorageBridge::getScriptLogicalNames() +throw ( lang::IllegalArgumentException, + RuntimeException ) +{ + OSL_TRACE( "In StorageBridge getScriptLogicalNames...\n" ); + Sequence < ::rtl::OUString > results; + try + { + results = m_xScriptImplAccess->getScriptLogicalNames(); + } + catch ( Exception e ) + { + OUString temp = OUSTR( "StorageBridge::getScriptLogicalNames: " ); + throw RuntimeException( temp.concat( e.Message ), Reference< XInterface >() ); + } + return results; +} + +//************************************************************************* Sequence < Reference< scripturi::XScriptURI > > StorageBridge::getImplementations( const Reference< scripturi::XScriptURI >& queryURI ) throw ( lang::IllegalArgumentException, RuntimeException ) |