Kaydet (Commit) 0e7237e7 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix missing content of header tabs with gtk vclplug

regression since e717d1dc

Change-Id: I72e6e2f3ef093f272765036ebfc60b3f56a8fc34
üst a6060f4c
......@@ -833,24 +833,11 @@ sal_Bool GtkSalGraphics::drawNativeControl( ControlType nType,
for(RectangleVector::const_iterator aRectIter(aRectangles.begin()); aRectIter != aRectangles.end(); ++aRectIter)
{
if(aRectIter->IsEmpty())
{
Rectangle aPaintRect = aCtrlRect.GetIntersection(*aRectIter);
if( aPaintRect.IsEmpty() )
continue;
}
aClip.push_back(*aRectIter);
aClip.push_back( aPaintRect );
}
//RegionHandle aHdl = aClipRegion.BeginEnumRects();
//Rectangle aPaintRect;
//while( aClipRegion.GetEnumRects( aHdl, aPaintRect ) )
//{
// aPaintRect = aCtrlRect.GetIntersection( aPaintRect );
// if( aPaintRect.IsEmpty() )
// continue;
// aClip.push_back( aPaintRect );
//}
//aClipRegion.EndEnumRects( aHdl );
}
if ( (nType==CTRL_PUSHBUTTON) && (nPart==PART_ENTIRE_CONTROL) )
......
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