summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/uivwimp.cxx
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2016-05-18 14:29:01 +0200
committerOliver Specht <oliver.specht@cib.de>2016-05-19 07:08:33 +0000
commit7b24f21a46d8f9321434e40e6f9821df0ed2e2d3 (patch)
tree38e44c93b0805a234ce8a71ae1c152b64117791c /sw/source/uibase/uiview/uivwimp.cxx
parent5cf5dc32202e2b785f5a7979a16da3b2a35dee5f (diff)
tdf#98985 create merge results at the right time
When using mail merge toolbar the resulting documents are now created on OK in Save/Print and Send dialogs. Additionally the 'To' is set in the save dialog and the MailMergeConfigItem ist not deleted twice anymore. Change-Id: I21f1f49d8bbd40c11b6f771e15b89e0f6c4bc87a Reviewed-on: https://gerrit.libreoffice.org/25104 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sw/source/uibase/uiview/uivwimp.cxx')
-rw-r--r--sw/source/uibase/uiview/uivwimp.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/uivwimp.cxx b/sw/source/uibase/uiview/uivwimp.cxx
index 830e32d8e85f..115ba4d22865 100644
--- a/sw/source/uibase/uiview/uivwimp.cxx
+++ b/sw/source/uibase/uiview/uivwimp.cxx
@@ -97,7 +97,8 @@ SwView_Impl::~SwView_Impl()
pClipEvtLstnr->ViewDestroyed();
}
#if HAVE_FEATURE_DBCONNECTIVITY
- delete pConfigItem;
+ if(bMailMergeSourceView)
+ delete pConfigItem;
#endif
delete m_pDocInserter;
delete m_pRequest;