summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-04-16 13:22:47 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-04-16 13:22:47 +0000
commit04cf0371b38f1aedf45e2e201cf240d0bfb07740 (patch)
tree4744ffcaefcf361b2fd93395af35114ad347cbbc /vcl/source/window/window2.cxx
parente41a03b558891edde82c9e54fb87bb444367c7ec (diff)
INTEGRATION: CWS vcl77 (1.21.194); FILE MERGED
2007/03/29 09:31:47 pl 1.21.194.1: #i75284# clean up srcoll window destruction
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index cd749010bd87..e694493f2851 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: window2.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 12:23:57 $
+ * last change: $Author: ihi $ $Date: 2007-04-16 14:22:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -828,7 +828,8 @@ void Window::EndAutoScroll()
{
pSVData->maWinData.mpAutoScrollWin = NULL;
pSVData->maWinData.mnAutoScrollFlags = 0;
- delete pSVData->maAppData.mpWheelWindow;
+ pSVData->maAppData.mpWheelWindow->ImplStop();
+ pSVData->maAppData.mpWheelWindow->doLazyDelete();
pSVData->maAppData.mpWheelWindow = NULL;
}
}