[Libreoffice-commits] core.git: Branch 'libreoffice-4-4-6' - sw/source

Oliver Specht oliver.specht at cib.de
Wed Oct 14 15:07:02 PDT 2015


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

New commits:
commit e59c048a589db0aabd6a066be8bb73f9859d1375
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/19338
    Tested-by: Michael Stahl <mstahl at redhat.com>
    (cherry picked from commit bdc5aab39be149b2fc7d37520414ae251341bc14)
    Reviewed-on: https://gerrit.libreoffice.org/19340
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/sw/source/core/crsr/crossrefbookmark.cxx b/sw/source/core/crsr/crossrefbookmark.cxx
index 67a25d0..ed4e6a4 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