summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/print.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-20 10:31:48 +0000
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:27:19 +0100
commit047362988b5b9910b41ef6cc7d12a685d849bcae (patch)
tree55161f2f4790c6cbe86bfacc17f48ecbf74b96db /vcl/source/gdi/print.cxx
parent12f6e237b8b7b8ff9508edc9e348a387290c240c (diff)
vclptr: various mistakes fixed, and more ptr types converted.
Change-Id: Iba04ec828f7ce37fc6ede28a64f1c286d81ff705
Diffstat (limited to 'vcl/source/gdi/print.cxx')
-rw-r--r--vcl/source/gdi/print.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/print.cxx b/vcl/source/gdi/print.cxx
index 7ba564581514..7c48a7fa1fe3 100644
--- a/vcl/source/gdi/print.cxx
+++ b/vcl/source/gdi/print.cxx
@@ -1024,6 +1024,7 @@ void Printer::dispose()
DBG_ASSERT( !IsJobActive(), "Printer::~Printer() - Job is active" );
delete mpPrinterOptions;
+ mpPrinterOptions = NULL;
ReleaseGraphics();
if ( mpInfoPrinter )