summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorRuslan Kabatsayev <b7.10110111@gmail.com>2012-06-02 01:35:42 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-06-02 10:34:00 +0400
commit402c3c08f4fce12008873510bed47e4f44779a91 (patch)
tree4697267911b57ba58786995b0ff8d885a77f4e12 /vcl
parentFix some Prefer prefix ++/-- (diff)
downloadcore-402c3c08f4fce12008873510bed47e4f44779a91.tar.gz
core-402c3c08f4fce12008873510bed47e4f44779a91.zip
Fix operator precedence error
Change-Id: I8806f17aaf9fe2c209b917259dfd1d17e530e170
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/decoview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 7dfc30109dbc..381043e7be83 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -666,8 +666,8 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect,
if( pWin && pWin->IsNativeControlSupported(CTRL_FRAME, PART_BORDER) )
{
ImplControlValue aControlValue( nStyle |
- (pWin->GetType()==WINDOW_BORDERWINDOW) ?
- FRAME_DRAW_BORDERWINDOWBORDER : 0 );
+ (pWin->GetType()==WINDOW_BORDERWINDOW ?
+ FRAME_DRAW_BORDERWINDOWBORDER : 0) );
Rectangle aBound, aContent;
Rectangle aNatRgn( rRect );
if( pWin->GetNativeControlRegion(CTRL_FRAME, PART_BORDER,