summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb/WinClipbImpl.cxx
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-03-15 09:13:36 +0000
committerTino Rachui <tra@openoffice.org>2001-03-15 09:13:36 +0000
commitc81db7d594dbfdc1e8c07540bdd2a5c52ac9bade (patch)
treede67291485c4f2970881507c86aa8ceb2ca7b99f /dtrans/source/win32/clipb/WinClipbImpl.cxx
parent11d014f6992672adaf2fde0bdff93816c98b00f4 (diff)
*** empty log message ***
Diffstat (limited to 'dtrans/source/win32/clipb/WinClipbImpl.cxx')
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index b749f63b7f74..8755f4f8d844 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WinClipbImpl.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: tra $ $Date: 2001-03-14 16:29:04 $
+ * last change: $Author: tra $ $Date: 2001-03-15 10:12:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -137,7 +137,6 @@ CWinClipbImpl::CWinClipbImpl( const OUString& aClipboardName, CWinClipboard* the
CWinClipbImpl::~CWinClipbImpl( )
{
- unregisterClipboardViewer( );
}
//------------------------------------------------------------------------
@@ -262,6 +261,8 @@ void SAL_CALL CWinClipbImpl::unregisterClipboardViewer( )
void SAL_CALL CWinClipbImpl::dispose() throw( RuntimeException )
{
+ unregisterClipboardViewer( );
+
OSL_ENSURE( !m_rOldClipbContent.is( ) &&
!m_rOldClipbOwner.is( ) &&
!m_rCurrentClipbContent.is( ) &&