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()));
...@@ -657,6 +658,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev, ...@@ -657,6 +658,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
} }
} }
} }
}
// Gegebenenfalls auch UserDraw aufrufen // Gegebenenfalls auch UserDraw aufrufen
if ( nBits & HIB_USERDRAW ) if ( nBits & HIB_USERDRAW )
......
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