summaryrefslogtreecommitdiff
path: root/sw/inc/IDocumentMarkAccess.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-10-12 23:49:04 +0200
committerMichael Stahl <mstahl@redhat.com>2015-10-13 01:22:46 +0200
commit7c3c3006deaaaf1bb3f2f4eeeaf11da3bcebe53c (patch)
tree378ae965927f84fec19c2d33bbe253f18d63ee2a /sw/inc/IDocumentMarkAccess.hxx
parent85eb4d9514858c71fb22c5ed93d651ea24bc6c05 (diff)
tdf#94804 sw: allow duplicate heading cross reference bookmarks
... in ODF import, so that reference fields do not break that reference numbering cross reference bookmarks that were corrupted by commit 679faffc68bb854af0f55d0f218698e2f372f00b. This used to work by accident before commit 9d0c51daea67104349cac26de9839afa8baeb099 fixed it to actually check for duplicates properly. Change-Id: I5ed58eda7f3f2ce470a778852f6dda7a14356860
Diffstat (limited to 'sw/inc/IDocumentMarkAccess.hxx')
-rw-r--r--sw/inc/IDocumentMarkAccess.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx
index 4d8f984eff54..d071f419018d 100644
--- a/sw/inc/IDocumentMarkAccess.hxx
+++ b/sw/inc/IDocumentMarkAccess.hxx
@@ -77,7 +77,7 @@ class IDocumentMarkAccess
*/
virtual ::sw::mark::IMark* makeMark(const SwPaM& rPaM,
const OUString& rProposedName,
- MarkType eMark) =0;
+ MarkType eMark, bool = false) = 0;
virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM,
const OUString& rName,