summaryrefslogtreecommitdiff
path: root/vcl
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 15:34:37 +0100
commit0d682a9d5a9c68b0ba949725bdab3042f2e8aaa1 (patch)
tree94ccd627240b638162701f9c6c23c35e356d0c95 /vcl
parent94f8754f8e69bc0e5f06dc271fc286eaa0e0c339 (diff)
tdf#91283 - reset the PrinterController during dispose.
Change-Id: I22c6c534cfefdbb68e965cbd6baab3da3146d9d0
Diffstat (limited to 'vcl')
-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();
}