diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-03 13:48:39 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-03 14:12:51 +0000 |
commit | 06faa823bc5dbb2aa2c096b5db2ffaeb15e56b04 (patch) | |
tree | f910f29bd201c898cc1448412b597585c13d706a | |
parent | 874035190625de4d82d357e61cc5bcf785c7b9fe (diff) |
remove obsolete comments
gcc3.3 would not build with Point(0,0) in direct initialization of
Rectangle: Rectangle a(Point(0,0),..);
Rectangle a = Rectangle(Point(0,0),..); was the workaround which was
replaced at some point in time
Change-Id: I33e6607b6c7079812d9e4064cfe4d8b4badf2a95
Reviewed-on: https://gerrit.libreoffice.org/29485
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r-- | vcl/source/app/help.cxx | 1 | ||||
-rw-r--r-- | vcl/source/control/button.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx index 63b5605dc0fc..a5e72b32541e 100644 --- a/vcl/source/app/help.cxx +++ b/vcl/source/app/help.cxx @@ -383,7 +383,6 @@ void HelpTextWindow::Paint( vcl::RenderContext& rRenderContext, const Rectangle& bool bNativeOK = false; if (rRenderContext.IsNativeControlSupported(ControlType::Tooltip, ControlPart::Entire)) { - // #i46472# workaround gcc3.3 temporary problem Rectangle aCtrlRegion(Point(0, 0), GetOutputSizePixel()); ImplControlValue aControlValue; bNativeOK = rRenderContext.DrawNativeControl(ControlType::Tooltip, ControlPart::Entire, aCtrlRegion, diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 724b37ac156b..37a6dbc69ae9 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -2762,7 +2762,6 @@ Size RadioButton::ImplGetRadioImageSize() const if( IsNativeControlSupported( ControlType::Radiobutton, ControlPart::Entire ) ) { ImplControlValue aControlValue; - // #i45896# workaround gcc3.3 temporary problem Rectangle aCtrlRegion( Point( 0, 0 ), GetSizePixel() ); ControlState nState = ControlState::DEFAULT|ControlState::ENABLED; Rectangle aBoundingRgn, aContentRgn; @@ -3647,7 +3646,6 @@ Size CheckBox::ImplGetCheckImageSize() const if( IsNativeControlSupported( ControlType::Checkbox, ControlPart::Entire ) ) { ImplControlValue aControlValue; - // #i45896# workaround gcc3.3 temporary problem Rectangle aCtrlRegion( Point( 0, 0 ), GetSizePixel() ); ControlState nState = ControlState::DEFAULT|ControlState::ENABLED; Rectangle aBoundingRgn, aContentRgn; |