Kaydet (Commit) 06faa823 authored tarafından Jochen Nitschke's avatar Jochen Nitschke

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/29485Reviewed-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 87403519
......@@ -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,
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment