diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-04 18:38:07 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-04 19:42:04 +0400 |
commit | b49f69aee6f48fb9367a2a9548182dcd84eb5296 (patch) | |
tree | acf32eef280278bd2da03d8a7e8eafe6c1173a7f | |
parent | b905ac19da5d4168c06f42c21418ccdb2a5d9290 (diff) |
fdo#40948: TOC dialog, Entries tab: the right arrow button does not work
regression from 39b8a5f87f55abe53488c9c3c35b65fb0df84cd.
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 2 |
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(); } |