From 52f296ac1a77cded6d4318a5f5d13bbf1c4f6877 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sat, 19 Apr 2014 12:57:58 +1000 Subject: Remove gcc3 workaround for bug long since fixed in gcc Change-Id: Ieb1c41481a79ab8713663caee3d5373640ff0ec8 Reviewed-on: https://gerrit.libreoffice.org/9102 Tested-by: LibreOffice gerrit bot Tested-by: Chris Sherlock Reviewed-by: Chris Sherlock --- reportdesign/source/ui/report/dlgedfunc.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'reportdesign/source/ui/report/dlgedfunc.cxx') diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index ad8400229aaf..860da4b03c3a 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -91,8 +91,7 @@ void DlgEdFunc::ForceScroll( const Point& rPos ) aPos.Y() *= 0.5; Rectangle aOutRect( aPos, aOut ); aOutRect = m_pParent->PixelToLogic( aOutRect ); - Point aGcc3WorkaroundTemporary; - Rectangle aWorkArea(aGcc3WorkaroundTemporary,pScrollWindow->getTotalSize()); + Rectangle aWorkArea(Point(), pScrollWindow->getTotalSize()); aWorkArea.Right() -= (long)aStartWidth; aWorkArea = pScrollWindow->PixelToLogic( aWorkArea ); if( !aOutRect.IsInside( rPos ) && aWorkArea.IsInside( rPos ) ) -- cgit