summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-05-18 10:01:06 +0000
committerKurt Zenker <kz@openoffice.org>2004-05-18 10:01:06 +0000
commit13c739bd98d5f0946c7636e6880a6932fa0cf026 (patch)
treef3a8a535e1531e2107c78ce03363c277b6216576 /svtools/source
parent0428dc526499b02c4f2b57f77b1311b80b5b3503 (diff)
INTEGRATION: CWS vcl21 (1.4.510); FILE MERGED
2004/03/29 13:50:09 pl 1.4.510.1: #i27063# do not use static images
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/contnr/svlbitm.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx
index 0234fcf36ba4..e66c3a40835d 100644
--- a/svtools/source/contnr/svlbitm.cxx
+++ b/svtools/source/contnr/svlbitm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svlbitm.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: gt $ $Date: 2002-05-24 09:48:23 $
+ * last change: $Author: kz $ $Date: 2004-05-18 11:01:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -526,8 +526,10 @@ Image& SvLBoxContextBmp::implGetImageStore( sal_Bool _bFirst, BmpColorMode _eMod
DBG_ERROR( "SvLBoxContextBmp::implGetImageStore: unexpected mode!");
}
- static Image aDummy;
- return aDummy;
+ // #i27063# never access VCL after DeInitVCL - also no destructors
+ // FIXME: static images are currently leaked letting the OS clean up
+ static Image* pDummy = new Image();
+ return *pDummy;
}
void SvLBoxContextBmp::InitViewData( SvLBox* pView,SvLBoxEntry* pEntry,