diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 17:47:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-05 17:48:19 +0200 |
commit | 25487875563c5aa05253e3f3199b082ded16184c (patch) | |
tree | db92641cf4781fc3ef8bd4bd5eba92de37f06361 /editeng | |
parent | 48d7d093bae06b7883434161882cb9d5f2ce08ae (diff) |
vcl::Window::Scroll takes a sal_uInt16 nFlags, not a sal_Bool
This passing of sal_True instead of some SCROLL_* flags has been there ever
since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import," and the
signature of vcl::Window::Scroll has been like that at least since
f59676fe09175725ee0a75a1678dd1581decc20b "INTEGRATION: CWS
hedaburemove01: #72503# get rid of hedabu procedure: Moving headers to
vcl/inc/vcl and correspondent necessary changes," so lets arbitrarily assume
that this wants to pass SCROLL_CLIP (which has the same numeric value as
Change-Id: I8da6536404aa220611a7df96605c7a4a9efc7f7c
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 2061716107bd..3d126ba0fd14 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -1057,7 +1057,7 @@ Pair ImpEditView::Scroll( long ndX, long ndY, sal_uInt8 nRangeCheck ) aVisDocStartPos = pOutWin->LogicToPixel( aVisDocStartPos ); aVisDocStartPos = pOutWin->PixelToLogic( aVisDocStartPos ); Rectangle aRect( aOutArea ); - pOutWin->Scroll( nRealDiffX, nRealDiffY, aRect, sal_True ); + pOutWin->Scroll( nRealDiffX, nRealDiffY, aRect, SCROLL_CLIP ); pOutWin->Update(); pCrsr->SetPos( pCrsr->GetPos() + Point( nRealDiffX, nRealDiffY ) ); if ( bVisCursor ) |