summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-04-04 18:38:07 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-04-04 19:42:04 +0400
commitb49f69aee6f48fb9367a2a9548182dcd84eb5296 (patch)
treeacf32eef280278bd2da03d8a7e8eafe6c1173a7f
parentb905ac19da5d4168c06f42c21418ccdb2a5d9290 (diff)
fdo#40948: TOC dialog, Entries tab: the right arrow button does not work
-rw-r--r--sw/source/ui/index/cnttab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 0d41a0b388ad..bdcf6da8a8a9 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3415,7 +3415,7 @@ IMPL_LINK(SwTokenWindow, ScrollHdl, ImageButton*, pBtn )
{
//move the right neighbor to the right edge right aligned
ctrl_reverse_iterator itRight = it;
- --it;
+ --itRight;
Control *pRight = *itRight;
nMove = nSpace - pRight->GetPosPixel().X() - pRight->GetSizePixel().Width();
}