summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-01 12:07:23 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-01 12:07:23 +0000
commitbd0f343409de816ded01b71a8b5be69bc8c986aa (patch)
tree10580a9d230c8e08721393e232a2caa984b34f47 /vcl
parent808350dd0aab95ed0f73c6f87036987c0e796a11 (diff)
INTEGRATION: CWS memory01 (1.47.56); FILE MERGED
2005/06/07 13:24:02 hdu 1.47.56.1: #i49838# adapt printer destructor to changed OD destructor
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index cffb57f52e03..d3dd6888aca5 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: print.cxx,v $
*
- * $Revision: 1.47 $
+ * $Revision: 1.48 $
*
- * last change: $Author: obo $ $Date: 2005-04-12 12:19:33 $
+ * last change: $Author: kz $ $Date: 2005-07-01 13:07:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -724,6 +724,7 @@ Printer::~Printer()
{
// OutputDevice-Dtor versucht das gleiche, deshalb muss hier
// der FontEntry auch auf NULL gesetzt werden
+ // TODO: consolidate duplicate cleanup by Printer and OutputDevice
if ( mpFontEntry )
{
mpFontCache->Release( mpFontEntry );
@@ -740,6 +741,7 @@ Printer::~Printer()
mpGetDevSizeList = NULL;
}
delete mpFontCache;
+ mpFontCache = NULL;
// font list deleted by OutputDevice dtor
}