diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dbui/mailmergewizard.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
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()) { |