summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-10-07 16:16:20 +0200
committerMichael Stahl <mstahl@redhat.com>2015-10-12 23:23:26 +0000
commit85eb4d9514858c71fb22c5ed93d651ea24bc6c05 (patch)
tree83599b3e12b18566d0a0dff13dc9f25ae2cd9387
parentaf77042f62bc18c278c1acf6548b3ed41f0da871 (diff)
tdf#94804: prefix to save cross reference bookmark fixed
bookmarks as references to numbered paragraphs are now saved using the prefix '__RefNumPara__' as the import already expects Change-Id: I6f7c41e95fa9f936a7eb21d4cb7461d4575c492a Reviewed-on: https://gerrit.libreoffice.org/19229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sw/source/core/crsr/crossrefbookmark.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/crossrefbookmark.cxx b/sw/source/core/crsr/crossrefbookmark.cxx
index 9ec38bdc5e29..f54586a6d9ed 100644
--- a/sw/source/core/crsr/crossrefbookmark.cxx
+++ b/sw/source/core/crsr/crossrefbookmark.cxx
@@ -84,7 +84,7 @@ namespace sw { namespace mark
const vcl::KeyCode& rCode,
const OUString& rName,
const OUString& rShortName)
- : CrossRefBookmark(rPaM, rCode, rName, rShortName, IDocumentMarkAccess::GetCrossRefHeadingBookmarkNamePrefix())
+ : CrossRefBookmark(rPaM, rCode, rName, rShortName, CrossRefNumItemBookmark_NamePrefix)
{ }
bool CrossRefNumItemBookmark::IsLegalName(const OUString& rName)