[Libreoffice-commits] core.git: sw/source
Gabor Kelemen
kelemeng at ubuntu.com
Wed Apr 5 07:33:04 UTC 2017
sw/source/ui/dbui/mailmergewizard.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit 02d5424751b456e5d29ef58a059b6ae604ac8616
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Wed Mar 15 21:20:19 2017 +0100
There is no MM wizard page after Layout page now
Change-Id: Ifd15dada56581ccae704452f6c98f5b476ca15f5
Reviewed-on: https://gerrit.libreoffice.org/36094
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/sw/source/ui/dbui/mailmergewizard.cxx b/sw/source/ui/dbui/mailmergewizard.cxx
index c0fd5ba4b55d..927a09825e0c 100644
--- a/sw/source/ui/dbui/mailmergewizard.cxx
+++ b/sw/source/ui/dbui/mailmergewizard.cxx
@@ -126,19 +126,6 @@ VclPtr<TabPage> SwMailMergeWizard::createPage(WizardState _nState)
void SwMailMergeWizard::enterState( WizardState _nState )
{
::svt::RoadmapWizard::enterState( _nState );
-/*
-
- entering a page after the layoutpage requires the insertion
- of greeting and address block - if not yet done
- entering the merge or output page requires to create the output document
-*/
- if(_nState > MM_LAYOUTPAGE && m_xConfigItem->GetSourceView() &&
- ((m_xConfigItem->IsAddressBlock() && !m_xConfigItem->IsAddressInserted()) ||
- (m_xConfigItem->IsGreetingLine(false) && !m_xConfigItem->IsGreetingInserted() )))
- {
- SwMailMergeLayoutPage::InsertAddressAndGreeting(m_xConfigItem->GetSourceView(),
- *m_xConfigItem, Point(-1, -1), true);
- }
if (m_xConfigItem->GetTargetView())
{
More information about the Libreoffice-commits
mailing list