From 3f18467049cf0843730335c6bb0a09aa1df189f6 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 1 Mar 2015 16:21:16 +0100 Subject: fix end condition Change-Id: I420d873ebafd459cedaee62bdc623599b4c767f7 --- sw/source/ui/dialog/uiregionsw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/ui') diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index ecf9f935e761..25a16f9a2083 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -118,7 +118,7 @@ static void lcl_FillSubRegionList( SwWrtShell& rSh, ComboBox& rSubRegions, Combo lcl_FillList( rSh, rSubRegions, pAvailNames, 0 ); IDocumentMarkAccess* const pMarkAccess = rSh.getIDocumentMarkAccess(); for( IDocumentMarkAccess::const_iterator_t ppMark = pMarkAccess->getBookmarksBegin(); - ppMark != pMarkAccess->getBookmarksBegin(); + ppMark != pMarkAccess->getBookmarksEnd(); ++ppMark) { const ::sw::mark::IMark* pBkmk = ppMark->get(); -- cgit