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

Jan-Marek Glogowski glogow at fbihome.de
Mon Sep 19 12:48:09 UTC 2016


 sw/source/ui/misc/bookmark.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 89c87ab94bb5960187c178f556f871b2c1bfde8f
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Fri Sep 16 22:13:02 2016 +0200

    tdf#101359 Just advance list box for BOOKMARKs
    
    Since the list box just contains MarkType::BOOKMARK, just advance
    the list box position for marks of this type.
    
    Change-Id: I7b8743abb1ffb2fda2242c5e7301b3ff15ae355b
    (cherry picked from commit 96454829f7dc6480f9ddd4262bc03d5ccabadea4)
    Reviewed-on: https://gerrit.libreoffice.org/28971
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index 6798738..1395fc1 100644
--- a/sw/source/ui/misc/bookmark.cxx
+++ b/sw/source/ui/misc/bookmark.cxx
@@ -257,8 +257,8 @@ bool SwInsertBookmarkDlg::HaveBookmarksChanged()
             if (aTableBookmark.first != ppBookmark->get() ||
                 aTableBookmark.second != ppBookmark->get()->GetName())
                 return true;
+            ++ppBookmark;
         }
-        ++ppBookmark;
     }
     return false;
 }


More information about the Libreoffice-commits mailing list