summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-11-24 13:52:23 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2016-11-25 16:27:07 +0100
commit0b0e43d26a669fb98633e73f483720ae8f06f0cb (patch)
treec1f864e632d0b86bcaa6a49e5470f49fb67da164
parentbbf246e40c7814bfc4038d456d388d1f90048287 (diff)
MM UNO always print single files to printer
Fix a missing hunk from e0ad036eed6b151ea81311fcf9ba46f1726b103c, which causes assertion, if MM is used via UNO. Thanks to Alex Kempshall, finding the assertion when testing MM. Change-Id: Ia0cd6053838adc6f0a4ce93902f06423849bf851
-rw-r--r--sw/source/uibase/uno/unomailmerge.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unomailmerge.cxx b/sw/source/uibase/uno/unomailmerge.cxx
index 010749627b71..32e2fd1f71af 100644
--- a/sw/source/uibase/uno/unomailmerge.cxx
+++ b/sw/source/uibase/uno/unomailmerge.cxx
@@ -693,7 +693,7 @@ uno::Any SAL_CALL SwXMailMerge::execute(
// #i25686# printing should not be done asynchronously to prevent dangling offices
// when mail merge is called as command line macro
aMergeDesc.aPrintOptions = m_aPrintSettings;
- aMergeDesc.bCreateSingleFile = false;
+ aMergeDesc.bCreateSingleFile = true;
}
break;
case MailMergeType::SHELL: