summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipboard.hxx
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-03-07 10:23:10 +0000
committerTino Rachui <tra@openoffice.org>2001-03-07 10:23:10 +0000
commitf8530b3c1fb7d18dbb779fa873c02de590a1cdbe (patch)
treeb31b185d2acecc5951f8bdd17aaf5c433dfca203 /dtrans/source/win32/clipb/WinClipboard.hxx
parentaef1d2bbf69879e2be07f4ea41ebd8028dabe8ac (diff)
#84702# using an additional condition to avoid dealocks in lostOwnership calls
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipboard.hxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx
index bed96ef7ff30..a34cf618c72c 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.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tra $ $Date: 2001-03-06 13:55:02 $
+ * last change: $Author: tra $ $Date: 2001-03-07 11:23:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -108,6 +108,10 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#endif
+#ifndef _OSL_CONDITN_HXX_
+#include <osl/conditn.hxx>
+#endif
+
#include <memory>
// forward
@@ -130,8 +134,9 @@ class CWinClipbImpl;
class CWinClipboardDummy
{
protected:
- osl::Mutex m_aMutex;
- osl::Mutex m_aCbListenerMutex;
+ osl::Mutex m_aMutex;
+ osl::Mutex m_aCbListenerMutex;
+ osl::Condition m_aCondition;
};
class CWinClipboard :