diff options
Diffstat (limited to 'reportdesign/source/ui/report/dlgedfunc.cxx')
-rw-r--r-- | reportdesign/source/ui/report/dlgedfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 1cf3b14b58c4..f6e236cd3c0c 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -84,7 +84,7 @@ void DlgEdFunc::ForceScroll( const Point& rPos ) tools::Rectangle aWorkArea(Point(), pScrollWindow->getTotalSize()); aWorkArea.AdjustRight( -static_cast<tools::Long>(aStartWidth) ); aWorkArea = pScrollWindow->PixelToLogic( aWorkArea ); - if( !aOutRect.IsInside( rPos ) && aWorkArea.IsInside( rPos ) ) + if( !aOutRect.Contains( rPos ) && aWorkArea.Contains( rPos ) ) { ScrollBar& rHScroll = pScrollWindow->GetHScroll(); ScrollBar& rVScroll = pScrollWindow->GetVScroll(); |