diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index bdcf6da8a8a9..63248e7761e1 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -3430,18 +3430,10 @@ IMPL_LINK(SwTokenWindow, ScrollHdl, ImageButton*, pBtn ) if(nMove) { // move the complete list + MoveControls(nMove); Control *pCtrl = 0; - for (ctrl_iterator it = aControlList.begin(); it != aControlList.end(); ++it) - { - pCtrl = *it; - - Point aPos = pCtrl->GetPosPixel(); - aPos.X() += nMove; - pCtrl->SetPosPixel(aPos); - } - pCtrl = *(aControlList.begin()); aLeftScrollWin.Enable(pCtrl->GetPosPixel().X() < 0); |