summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipboard.hxx
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-03-06 11:27:24 +0000
committerTino Rachui <tra@openoffice.org>2001-03-06 11:27:24 +0000
commit6a4bedd820a83fc08410ec0bc425088eca454f7c (patch)
tree05487a75fa2fac2efa211013a4bfd64ad4a8215d /dtrans/source/win32/clipb/WinClipboard.hxx
parentd51da1746f9df261429ae6a862a95cf8f58d0e38 (diff)
*** empty log message ***
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipboard.hxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.hxx19
1 files changed, 13 insertions, 6 deletions
diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx
index aac9afaadf70..a11f3c471edb 100644
--- a/dtrans/source/win32/clipb/WinClipboard.hxx
+++ b/dtrans/source/win32/clipb/WinClipboard.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WinClipboard.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: tra $ $Date: 2001-03-02 15:38:02 $
+ * last change: $Author: tra $ $Date: 2001-03-06 12:27:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,7 +124,17 @@ class CWinClipbImpl;
// by this class!
//------------------------------------------------------------------------
+// helper class, so that the mutex is constructed
+// before the constructor of WeakComponentImplHelper
+// will be called and initialized with this mutex
+class CWinClipboardDummy
+{
+protected:
+ ::osl::Mutex m_aMutex;
+};
+
class CWinClipboard :
+ public CWinClipboardDummy,
public cppu::WeakComponentImplHelper4<
::com::sun::star::datatransfer::clipboard::XClipboardEx, \
::com::sun::star::datatransfer::clipboard::XFlushableClipboard,
@@ -188,12 +198,9 @@ public:
throw(::com::sun::star::uno::RuntimeException);
private:
- void SAL_CALL notifyAllClipboardListener( ) const;
- sal_Bool SAL_CALL hasClipboardListener( ) const;
+ void SAL_CALL notifyAllClipboardListener( );
private:
- ::osl::Mutex m_aMutex;
- ::osl::Mutex m_aMtxForDispose;
::std::auto_ptr< CWinClipbImpl > m_pImpl;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_SrvMgr;