[Libreoffice-commits] .: sw/source
David Tardon
dtardon at kemper.freedesktop.org
Sat Feb 19 05:54:19 PST 2011
sw/source/ui/index/cnttab.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 594ed0be8ad49c3e062714d6e1ee387f4d005d7c
Author: David Tardon <dtardon at redhat.com>
Date: Sat Feb 19 14:53:30 2011 +0100
fix assertion
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 559d0bb..6bd4e6e 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3209,7 +3209,7 @@ void SwTokenWindow::RemoveControl(SwTOXButton* pDel, sal_Bool bInternalCall )
// the two neighbours of the box must be merged
// the properties of the right one will be lost
- OSL_ENSURE(it != aControlList.begin() && it != aControlList.rbegin(),
+ OSL_ENSURE(it != aControlList.begin() && it != aControlList.end() - 1,
"Button at first or last position?");
ctrl_iterator itLeft = it, itRight = it;
More information about the Libreoffice-commits
mailing list