summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-12-23 10:50:41 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-12-23 10:50:41 +0000
commit159fe58df16d61c4bc384ecbd7c8f08a0f20a1ef (patch)
tree2db28127e5d8991a71050b057f3e7d80c2f5d129
parente929800bda446b285b9e4c167b3e1e01e024c6ea (diff)
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
-rw-r--r--scripting/source/provider/MasterScriptProviderFactory.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/scripting/source/provider/MasterScriptProviderFactory.hxx b/scripting/source/provider/MasterScriptProviderFactory.hxx
index 06fed8dc9c..44e86ec66d 100644
--- a/scripting/source/provider/MasterScriptProviderFactory.hxx
+++ b/scripting/source/provider/MasterScriptProviderFactory.hxx
@@ -2,9 +2,9 @@
*
* $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
* either of the following licenses
@@ -58,7 +58,6 @@
*
*
************************************************************************/
-
#include <rtl/ustring>
#include <cppuhelper/implbase2.hxx>
@@ -70,6 +69,8 @@
#include <com/sun/star/script/provider/XScriptProviderFactory.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp>
+#include "ActiveMSPList.hxx"
+
namespace func_provider
{
// for simplification
@@ -81,7 +82,17 @@ class MasterScriptProviderFactory :
css::lang::XServiceInfo >
{
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;
+
+ ActiveMSPList& getActiveMSPList();
+
protected:
virtual ~MasterScriptProviderFactory();