[Libreoffice-commits] .: svx/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sat Dec 4 06:22:17 PST 2010
svx/source/svdraw/svdpoev.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ed489d6560041c8021e07df136050560ffcdb006
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Dec 4 14:22:03 2010 +0000
WaE, remove final warning, bracket up existing logic
diff --git a/svx/source/svdraw/svdpoev.cxx b/svx/source/svdraw/svdpoev.cxx
index c0cfe91..da65557 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));
More information about the Libreoffice-commits
mailing list