summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-10 19:13:25 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-10 19:14:04 +0200
commit3f4b4a4d158feba1eb730bb546b28e45c6d9197a (patch)
tree9da854c9eb895348c5bf1b8a9308d69659356407 /svtools
parent5e11e00fcdbd0f7c6735e76d48b3b7f63dda4c2b (diff)
HeaderBar::ImplDrawItem: -Werror=parentheses
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/headbar.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx
index 7ff53f8703c6..733e5e121302 100644
--- a/svtools/source/control/headbar.cxx
+++ b/svtools/source/control/headbar.cxx
@@ -604,6 +604,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
bDraw = sal_False;
if ( bDraw )
+ {
if( pWin && pWin->IsNativeControlSupported(CTRL_LISTHEADER, PART_ARROW) )
{
aCtrlRegion=Rectangle(Point(nArrowX,aRect.Top()),Size(nArrowWidth,aRect.GetHeight()));
@@ -656,6 +657,7 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
Point( nArrowX+HEAD_ARROWSIZE1, nArrowY ) );
}
}
+ }
}
// Gegebenenfalls auch UserDraw aufrufen