[Libreoffice-commits] core.git: Branch 'libreoffice-5-0-3' - sw/source

Oliver Specht oliver.specht at cib.de
Thu Oct 22 08:51:55 PDT 2015


 sw/source/core/crsr/crossrefbookmark.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 88675fdfb6498c3203c0e8f5540b610d3963074a
Author: Oliver Specht <oliver.specht at cib.de>
Date:   Wed Oct 7 16:16:20 2015 +0200

    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 at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit 85eb4d9514858c71fb22c5ed93d651ea24bc6c05)
    Reviewed-on: https://gerrit.libreoffice.org/19336
    Tested-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit 6e0638338d5c587d6bbb9c349d1b25382fbdbfce)
    Reviewed-on: https://gerrit.libreoffice.org/19512
    Reviewed-by: Oliver Specht <oliver.specht at cib.de>
    Tested-by: Oliver Specht <oliver.specht at cib.de>

diff --git a/sw/source/core/crsr/crossrefbookmark.cxx b/sw/source/core/crsr/crossrefbookmark.cxx
index 9ec38bd..f54586a 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)


More information about the Libreoffice-commits mailing list