summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-11-06 16:43:28 +0100
committerLuboš Luňák <l.lunak@collabora.com>2014-11-06 16:55:22 +0100
commitb1263c09c9f7ece4f4173b2738e91dcc0b580827 (patch)
tree084d29a806e46e0891e5bc4c16a8eda95b46a012 /sw
parent5f7bdec8207672c68c34dbbd833bf6b534cf182f (diff)
name of mailmerge marks is actually irrelevant
UNO bookmarks have internals names and ignore this Change-Id: I37baa4c9bcf9cec37f91e3b1d0fb2fad322ceda8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/dbui/dbmgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index 2d1ce305f444..142faf4e4edf 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -1141,7 +1141,8 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
if (bMergeShell)
{
SwDocMergeInfo aMergeInfo;
- aMergeInfo.startPageInTarget = pTargetDoc->getIDocumentMarkAccess()->makeMark( appendedDocStart, "MailMergeInternalStart" + OUString::number( nStartRow ),
+ // Name of the mark is actually irrelevant, UNO bookmarks have internals names.
+ aMergeInfo.startPageInTarget = pTargetDoc->getIDocumentMarkAccess()->makeMark( appendedDocStart, "",
IDocumentMarkAccess::UNO_BOOKMARK );
aMergeInfo.nDBRow = nStartRow;
rMergeDescriptor.pMailMergeConfigItem->AddMergedDocument( aMergeInfo );