Kaydet (Commit) 3f4b4a4d authored tarafından Michael Stahl's avatar Michael Stahl

HeaderBar::ImplDrawItem: -Werror=parentheses

üst 5e11e00f
...@@ -604,6 +604,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev, ...@@ -604,6 +604,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
bDraw = sal_False; bDraw = sal_False;
if ( bDraw ) if ( bDraw )
{
if( pWin && pWin->IsNativeControlSupported(CTRL_LISTHEADER, PART_ARROW) ) if( pWin && pWin->IsNativeControlSupported(CTRL_LISTHEADER, PART_ARROW) )
{ {
aCtrlRegion=Rectangle(Point(nArrowX,aRect.Top()),Size(nArrowWidth,aRect.GetHeight())); aCtrlRegion=Rectangle(Point(nArrowX,aRect.Top()),Size(nArrowWidth,aRect.GetHeight()));
...@@ -656,6 +657,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev, ...@@ -656,6 +657,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
Point( nArrowX+HEAD_ARROWSIZE1, nArrowY ) ); Point( nArrowX+HEAD_ARROWSIZE1, nArrowY ) );
} }
} }
}
} }
// Gegebenenfalls auch UserDraw aufrufen // Gegebenenfalls auch UserDraw aufrufen
......
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