summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-04 14:22:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-04 14:22:03 +0000
commited489d6560041c8021e07df136050560ffcdb006 (patch)
treee903fcbdc2b5447c145d64793f141bb9a4070a8f /svx
parent82ef4d5f0bfd009bb28392b50ce109936f879a36 (diff)
WaE, remove final warning, bracket up existing logic
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpoev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx
index c0cfe91e52..da65557898 100644
--- a/svx/source/svdraw/svdpoev.cxx
+++ b/svx/source/svdraw/svdpoev.cxx
@@ -571,7 +571,7 @@ void SdrPolyEditView::CloseMarkedObjects(BOOL bToggle, BOOL bOpen) // , long nOp
SdrMark* pM=GetSdrMarkByIndex(nm);
SdrObject* pO=pM->GetMarkedSdrObj();
BOOL bClosed=pO->IsClosedObj();
- if (pO->IsPolyObj() && (bClosed==bOpen) || bToggle)
+ if ((pO->IsPolyObj() && (bClosed==bOpen)) || bToggle)
{
if( bUndo )
AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pO));