[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Apr 5 07:27:22 PDT 2012


 sw/source/ui/index/cnttab.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 37c1a9fde189f3010eec7392c44404e403555c52
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Wed Apr 4 18:38:07 2012 +0400

    fdo#40948: TOC dialog, Entries tab: the right arrow button does not work
    
    regression from 39b8a5f87f55abe53488c9c3c35b65fb0df84cd.
    (cherry picked from commit b49f69aee6f48fb9367a2a9548182dcd84eb5296)
    
    Signed-off-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 30f3a84..cb07f71 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -3419,7 +3419,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();
                 }


More information about the Libreoffice-commits mailing list