Kaydet (Commit) 48540555 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS scriptingf9 (1.3.6); FILE MERGED

2004/11/12 11:37:25 toconnor 1.3.6.1: #i36913# make ActiveMSPList a member of fMasterScriptProviderFactory
üst a80ee16c
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: MasterScriptProviderFactory.hxx,v $ * $RCSfile: MasterScriptProviderFactory.hxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: rt $ $Date: 2004-10-22 14:07:27 $ * last change: $Author: vg $ $Date: 2004-12-23 11:50:41 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -58,7 +58,6 @@ ...@@ -58,7 +58,6 @@
* *
* *
************************************************************************/ ************************************************************************/
#include <rtl/ustring> #include <rtl/ustring>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
...@@ -70,6 +69,8 @@ ...@@ -70,6 +69,8 @@
#include <com/sun/star/script/provider/XScriptProviderFactory.hpp> #include <com/sun/star/script/provider/XScriptProviderFactory.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp> #include <com/sun/star/script/provider/XScriptProvider.hpp>
#include "ActiveMSPList.hxx"
namespace func_provider namespace func_provider
{ {
// for simplification // for simplification
...@@ -81,7 +82,17 @@ class MasterScriptProviderFactory : ...@@ -81,7 +82,17 @@ class MasterScriptProviderFactory :
css::lang::XServiceInfo > css::lang::XServiceInfo >
{ {
private: private:
ActiveMSPList* m_MSPList;
// need to not only hold a pointer to this object but also
// keep it aqcuired
css::uno::Reference< css::lang::XEventListener > m_MSPListHolder;
css::uno::Reference< css::uno::XComponentContext > m_xComponentContext; css::uno::Reference< css::uno::XComponentContext > m_xComponentContext;
ActiveMSPList& getActiveMSPList();
protected: protected:
virtual ~MasterScriptProviderFactory(); virtual ~MasterScriptProviderFactory();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment