Kaydet (Commit) 6e063833 authored tarafından Oliver Specht's avatar Oliver Specht Kaydeden (comit) Michael Stahl

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/19229Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
(cherry picked from commit 85eb4d95)
Reviewed-on: https://gerrit.libreoffice.org/19336Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 76a4665a
...@@ -84,7 +84,7 @@ namespace sw { namespace mark ...@@ -84,7 +84,7 @@ namespace sw { namespace mark
const vcl::KeyCode& rCode, const vcl::KeyCode& rCode,
const OUString& rName, const OUString& rName,
const OUString& rShortName) const OUString& rShortName)
: CrossRefBookmark(rPaM, rCode, rName, rShortName, IDocumentMarkAccess::GetCrossRefHeadingBookmarkNamePrefix()) : CrossRefBookmark(rPaM, rCode, rName, rShortName, CrossRefNumItemBookmark_NamePrefix)
{ } { }
bool CrossRefNumItemBookmark::IsLegalName(const OUString& rName) bool CrossRefNumItemBookmark::IsLegalName(const OUString& rName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment