diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-10-01 23:02:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-01 23:15:42 +0200 |
commit | f3020438938d019784d32fffeaf5f18dc6175ed8 (patch) | |
tree | 0960c5558d5e148bc15fa8a52d74d49824d03066 /sw/source/ui/dbui/mmoutputpage.hxx | |
parent | missing system header (diff) | |
download | core-f3020438938d019784d32fffeaf5f18dc6175ed8.tar.gz core-f3020438938d019784d32fffeaf5f18dc6175ed8.zip |
fdo#55496: fix lifecycle of SwMailMergeOutputPage:
Its member m_pDocumentPrinterCopy contains a SfxItemSet that points at
the SwDoc's item pool; the SwDoc is freed in
SwMailMergeWizardExecutor::LinkStubCancelHdl. But the SwDoc::setPrinter
method does seem to work fine if the printer that is set is the same as
the one it already has, so it does not seem to be necessary to clone the
printer; just get it and set it again.
Change-Id: Ic591f68f6e0bab4e42cb22a9cb0a47e97f5e938f
Diffstat (limited to 'sw/source/ui/dbui/mmoutputpage.hxx')
-rw-r--r-- | sw/source/ui/dbui/mmoutputpage.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/mmoutputpage.hxx b/sw/source/ui/dbui/mmoutputpage.hxx index 0aace255a628..0babb244d4ab 100644 --- a/sw/source/ui/dbui/mmoutputpage.hxx +++ b/sw/source/ui/dbui/mmoutputpage.hxx @@ -118,7 +118,6 @@ class SwMailMergeOutputPage : public svt::OWizardPage //some dialog data Printer* m_pTempPrinter; - SfxPrinter* m_pDocumentPrinterCopy; String m_sCC; String m_sBCC; |