[Libreoffice-commits] core.git: vcl/source

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Oct 3 14:15:43 UTC 2016


 vcl/source/app/help.cxx       |    1 -
 vcl/source/control/button.cxx |    2 --
 2 files changed, 3 deletions(-)

New commits:
commit 06faa823bc5dbb2aa2c096b5db2ffaeb15e56b04
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Oct 3 13:48:39 2016 +0200

    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 at ok.de>
    Tested-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index 63b5605..a5e72b3 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 724b37a..37a6dbc 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;


More information about the Libreoffice-commits mailing list