summaryrefslogtreecommitdiff
path: root/filter/source/pdf/pdffilter.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 13:58:02 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 13:58:02 +0000
commit9b11e9cf0cfc1daa992cff6d003a5b44bc825410 (patch)
treeed5bada4dbb6373f5b6a14066921bda20c3da983 /filter/source/pdf/pdffilter.cxx
parente7f53f9824b2d184180b65c13a8529b6a16db29a (diff)
INTEGRATION: CWS vcl81 (1.12.56); FILE MERGED
2007/07/19 16:35:43 pl 1.12.56.1: #148849# remove event listener or be called on a dead object
Diffstat (limited to 'filter/source/pdf/pdffilter.cxx')
-rw-r--r--filter/source/pdf/pdffilter.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/filter/source/pdf/pdffilter.cxx b/filter/source/pdf/pdffilter.cxx
index 97f1bf64a444..f80f49969689 100644
--- a/filter/source/pdf/pdffilter.cxx
+++ b/filter/source/pdf/pdffilter.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pdffilter.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ihi $ $Date: 2007-03-26 11:14:53 $
+ * last change: $Author: hr $ $Date: 2007-08-02 14:58:02 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -153,7 +153,10 @@ class FocusWindowWaitCursor
~FocusWindowWaitCursor()
{
if( m_pFocusWindow )
+ {
m_pFocusWindow->LeaveWait();
+ m_pFocusWindow->RemoveEventListener( LINK( this, FocusWindowWaitCursor, DestroyedLink ) );
+ }
}
DECL_LINK( DestroyedLink, VclWindowEvent* );