diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:05:46 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 13:05:46 +0000 |
commit | b4d9181559335ad85363a8e3fbe17ecca3b1db2d (patch) | |
tree | 646bf530dbae6316c9477bc0b64252cbb96534e3 /scripting | |
parent | cb453fcaa791965b6d176d2594e3716aa4a5099c (diff) |
INTEGRATION: CWS scriptingf6 (1.5.2); FILE MERGED
2004/08/03 14:45:04 dfoster 1.5.2.1: #i32502#
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.hxx | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx index a55424b31475..8a359644bda0 100644 --- a/scripting/source/provider/ActiveMSPList.hxx +++ b/scripting/source/provider/ActiveMSPList.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ActiveMSPList.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: hr $ $Date: 2004-07-23 14:09:20 $ + * last change: $Author: rt $ $Date: 2004-10-22 14:05:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -74,25 +74,24 @@ #include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/frame/XModel.hpp> -#include <drafts/com/sun/star/script/provider/XScriptProvider.hpp> -#include <drafts/com/sun/star/script/browse/XBrowseNode.hpp> +#include <com/sun/star/script/provider/XScriptProvider.hpp> +#include <com/sun/star/script/browse/XBrowseNode.hpp> namespace func_provider { // for simplification #define css ::com::sun::star -#define dcsss ::drafts::com::sun::star::script //Typedefs //============================================================================= typedef ::std::map < css::uno::Reference< css::frame::XModel >, - css::uno::Reference< dcsss::provider::XScriptProvider > > Model_map; + css::uno::Reference< css::script::provider::XScriptProvider > > Model_map; typedef ::std::hash_map< ::rtl::OUString, - css::uno::Reference< dcsss::provider::XScriptProvider >, + css::uno::Reference< css::script::provider::XScriptProvider >, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > Msp_hash; @@ -106,13 +105,13 @@ public: ActiveMSPList( const css::uno::Reference< css::uno::XComponentContext > & xContext ); ~ActiveMSPList(); - css::uno::Reference< dcsss::provider::XScriptProvider > + css::uno::Reference< css::script::provider::XScriptProvider > createMSP( const ::rtl::OUString& context ) throw ( css::uno::RuntimeException ); - css::uno::Reference< dcsss::provider::XScriptProvider > + css::uno::Reference< css::script::provider::XScriptProvider > createMSP( const css::uno::Any& context ) throw ( css::uno::RuntimeException ); - css::uno::Sequence< css::uno::Reference< dcsss::provider::XScriptProvider > > + css::uno::Sequence< css::uno::Reference< css::script::provider::XScriptProvider > > getActiveProviders(); //XEventListener //====================================================================== @@ -122,8 +121,8 @@ public: private: void addActiveMSP( const css::uno::Reference< css::frame::XModel >& xModel, - const css::uno::Reference< dcsss::provider::XScriptProvider >& msp ); - css::uno::Reference< dcsss::provider::XScriptProvider > + const css::uno::Reference< css::script::provider::XScriptProvider >& msp ); + css::uno::Reference< css::script::provider::XScriptProvider > createNewMSP( const ::rtl::OUString& ) throw ( css::uno::RuntimeException ); void createNonDocMSPs(); |