]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-gui-sw-scroll.patch
- up
[packages/libreoffice.git] / openoffice-gui-sw-scroll.patch
1 Index: sw/source/ui/uiview/viewport.cxx
2 ===================================================================
3 RCS file: /cvs/sw/sw/source/ui/uiview/viewport.cxx,v
4 retrieving revision 1.25.160.1
5 diff -u -p -u -r1.25.160.1 viewport.cxx
6 --- sw/source/ui/uiview/viewport.cxx    22 Aug 2003 12:01:25 -0000      1.25.160.1
7 +++ sw/source/ui/uiview/viewport.cxx    7 Oct 2003 09:33:04 -0000
8 @@ -781,6 +781,7 @@ IMPL_LINK( SwView, ScrollHdl, SwScrollba
9                 //Hier wieder auskommentieren wenn das mitscrollen nicht gewuenscht ist.
10                 // JP 21.07.00: the end scrollhandler invalidate the FN_STAT_PAGE,
11                 //                              so we dont must do it agin.
12 +               long nOldPge = nPgNum;
13                 EndScrollHdl(pScrollbar);
14  
15                 Point aPos( aVisArea.TopLeft() );
16 @@ -801,7 +802,7 @@ IMPL_LINK( SwView, ScrollHdl, SwScrollba
17                         USHORT nPageCnt = pWrtShell->GetPageCnt();
18                         if( nPageCnt > 1 && Help::IsQuickHelpEnabled() )
19                         {
20 -                               if( !nPgNum || nPgNum != nPhNum )
21 +                               if( !nOldPge || nOldPge != nPhNum )
22                                 {
23                                         Rectangle aRect;
24                                         aRect.Left() = pScrollbar->GetParent()->OutputToScreenPixel(
This page took 0.031993 seconds and 3 git commands to generate.