[Libreoffice-commits] core.git: sw/source

Jan-Marek Glogowski glogow at fbihome.de
Fri Sep 16 20:20:56 UTC 2016


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

New commits:
commit 96454829f7dc6480f9ddd4262bc03d5ccabadea4
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

diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index ec6f3a3..b932883 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