summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-19 12:57:58 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-19 05:39:01 +0000
commit52f296ac1a77cded6d4318a5f5d13bbf1c4f6877 (patch)
tree09f82e9e59ce41a6e535ffef6e2fb3ca5752c76d /vcl
parent4afb2a6a95fd7ca09542fc128cbb00dd9708b81c (diff)
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 <gerrit@libreoffice.org> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/outdev.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index cba75421b4e4..f00f2bfeae27 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -1590,8 +1590,7 @@ void OutputDevice::Erase()
if( aCtrlPart != 0 && ! pWindow->IsControlBackground() )
{
ImplControlValue aControlValue;
- Point aGcc3WorkaroundTemporary;
- Rectangle aCtrlRegion( aGcc3WorkaroundTemporary, GetOutputSizePixel() );
+ Rectangle aCtrlRegion( Point(), GetOutputSizePixel() );
ControlState nState = 0;
if( pWindow->IsEnabled() ) nState |= CTRL_STATE_ENABLED;