summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-22 11:26:42 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-22 11:28:12 +0100
commit05b0311612f3a26530b0d3e300563c4588bf68e9 (patch)
tree79d1c1ab5d006f2edccf5536c83246a044b0cb5b
parent1c4c7e0296569d937869b03705dfadb2035e08bc (diff)
tdf#91283 - reset the PrinterController during dispose.
Change-Id: I22c6c534cfefdbb68e965cbd6baab3da3146d9d0
-rw-r--r--vcl/source/window/printdlg.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 66ada2da58bb..2d06c3b416b8 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -736,6 +736,7 @@ void PrintDialog::dispose()
mpOKButton.clear();
mpCancelButton.clear();
mpHelpButton.clear();
+ maPController.reset();
ModalDialog::dispose();
}