summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2015-10-07 16:16:20 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-10-14 22:06:41 +0000
commite59c048a589db0aabd6a066be8bb73f9859d1375 (patch)
tree217ec43dfd6fdc76af69e843efb0a596b385bfd5
parent3051c054579b201db9a36af20f09d455fbdf7422 (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> (cherry picked from commit 85eb4d9514858c71fb22c5ed93d651ea24bc6c05) Reviewed-on: https://gerrit.libreoffice.org/19338 Tested-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit bdc5aab39be149b2fc7d37520414ae251341bc14) Reviewed-on: https://gerrit.libreoffice.org/19340 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.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 67a25d07520c..ed4e6a406080 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)