From f670a64376d227cc0abd8fc4a7582f7ebd6f849e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 23 Jan 2007 06:33:07 +0000 Subject: [PATCH] INTEGRATION: CWS fwk59 (1.3.22); FILE MERGED 2007/01/04 16:05:11 mav 1.3.22.1: #i71349# introduce a better workaround for AcrobatReader 7.0.8 object --- embeddedobj/source/msole/mtnotification.hxx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/embeddedobj/source/msole/mtnotification.hxx b/embeddedobj/source/msole/mtnotification.hxx index ee8175d43ae6..db0b49905c0d 100644 --- a/embeddedobj/source/msole/mtnotification.hxx +++ b/embeddedobj/source/msole/mtnotification.hxx @@ -4,9 +4,9 @@ * * $RCSfile: mtnotification.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: obo $ $Date: 2006-10-13 11:30:47 $ + * last change: $Author: obo $ $Date: 2007-01-23 07:33:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -44,16 +44,23 @@ #include #endif +#include + class OleEmbeddedObject; +#define OLECOMP_ONVIEWCHANGE 1 +#define OLECOMP_ONCLOSE 2 + class MainThreadNotificationRequest { OleEmbeddedObject* m_pObject; ::com::sun::star::uno::WeakReference< ::com::sun::star::embed::XEmbeddedObject > m_xObject; + + sal_uInt16 m_nNotificationType; sal_uInt32 m_nAspect; public: - MainThreadNotificationRequest( OleEmbeddedObject* pObj, sal_uInt32 nAspect ); + MainThreadNotificationRequest( const ::rtl::Reference< OleEmbeddedObject >& xObj, sal_uInt16 nNotificationType, sal_uInt32 nAspect = 0 ); static long worker( MainThreadNotificationRequest*, MainThreadNotificationRequest* );