summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2016-09-16 22:13:02 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2016-09-16 22:17:05 +0200
commit96454829f7dc6480f9ddd4262bc03d5ccabadea4 (patch)
tree162b716119172a352e90f3b96a5a5241f35f451c
parenttdf#101541 function WORKDAY.INTL not working properly (diff)
downloadcore-96454829f7dc6480f9ddd4262bc03d5ccabadea4.tar.gz
core-96454829f7dc6480f9ddd4262bc03d5ccabadea4.zip
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
-rw-r--r--sw/source/ui/misc/bookmark.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/bookmark.cxx b/sw/source/ui/misc/bookmark.cxx
index ec6f3a306ea5..b932883359db 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;
}