diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-10-07 16:16:20 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-10-12 23:46:32 +0000 |
commit | 6e0638338d5c587d6bbb9c349d1b25382fbdbfce (patch) | |
tree | 68c5f4f2f95206e0312159a5a64998c68dbae2f8 | |
parent | 76a4665a09542fb67dd99c9a607c162e0b678ead (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/19336
Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/source/core/crsr/crossrefbookmark.cxx | 2 |
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) |