summaryrefslogtreecommitdiff
path: root/embedserv/source/inc/intercept.hxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2006-05-05 08:57:17 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2006-05-05 08:57:17 +0000
commit4df8331a9d2d9de53c638f0024c902f5282245f7 (patch)
treedcafef4ee706c699b27bf29fbc1d5686c5d292ba /embedserv/source/inc/intercept.hxx
parentd692c94d33ea3b86c7d5514fec016819855aada4 (diff)
INTEGRATION: CWS fwkc03fixes (1.5.20); FILE MERGED
2006/04/28 13:11:41 mav 1.5.20.1: #134455# fix objects crosslinking
Diffstat (limited to 'embedserv/source/inc/intercept.hxx')
-rw-r--r--embedserv/source/inc/intercept.hxx19
1 files changed, 15 insertions, 4 deletions
diff --git a/embedserv/source/inc/intercept.hxx b/embedserv/source/inc/intercept.hxx
index bdcd151f8a3f..48f9f1ee9d3e 100644
--- a/embedserv/source/inc/intercept.hxx
+++ b/embedserv/source/inc/intercept.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: intercept.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 18:56:26 $
+ * last change: $Author: rt $ $Date: 2006-05-05 09:57:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -55,6 +55,9 @@
#include <com/sun/star/frame/XDispatch.hpp>
#endif
+#include <rtl/ref.hxx>
+#include "embeddocaccess.hxx"
+
class StatusChangeListenerContainer;
class EmbedDocument_Impl;
@@ -68,9 +71,14 @@ class Interceptor
{
public:
- Interceptor(EmbedDocument_Impl* pOLEInterface,DocumentHolder* pDocH);
+ Interceptor(
+ const ::rtl::Reference< EmbeddedDocumentInstanceAccess_Impl >& xOleAccess,
+ DocumentHolder* pDocH );
+
~Interceptor();
+ void DisconnectDocHolder();
+
void generateFeatureStateEvent();
// overwritten to release the statuslistner.
@@ -183,8 +191,11 @@ private:
osl::Mutex m_aMutex;
- EmbedDocument_Impl* m_pOLEInterface;
+ ::rtl::Reference< EmbeddedDocumentInstanceAccess_Impl > m_xOleAccess;
+
+ ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface > m_xDocHLocker;
DocumentHolder* m_pDocH;
+
::com::sun::star::uno::Reference<
::com::sun::star::frame::XDispatchProvider > m_xSlaveDispatchProvider;