diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-09 16:38:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-10 09:52:56 +0000 |
commit | 6d24c0ed2f0e1288b0de7a41ae0a1dbb88eeb57a (patch) | |
tree | e51fcf80c84baa48e64c407f1b2a14309f8bfb1f /svx | |
parent | 39771d36ec80c1dee41ad27f85b1bd6b306d5929 (diff) |
WaE: value set but unused
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdedtv2.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx index 809da7bce571..994f9a6f5a1c 100644 --- a/svx/source/svdraw/svdedtv2.cxx +++ b/svx/source/svdraw/svdedtv2.cxx @@ -1983,7 +1983,6 @@ SdrObject* SdrEditView::ImpConvertOneObj(SdrObject* pObj, BOOL bPath, BOOL bLine void SdrEditView::ImpConvertTo(BOOL bPath, BOOL bLineToArea) { BOOL bMrkChg=FALSE; - BOOL bModChg=FALSE; if (AreObjectsMarked()) { ULONG nMarkAnz=GetMarkedObjectCount(); USHORT nDscrID=0; @@ -2018,12 +2017,11 @@ void SdrEditView::ImpConvertTo(BOOL bPath, BOOL bLineToArea) SdrObjListIter aIter(*pGrp,IM_DEEPNOGROUPS); while (aIter.IsMore()) { pObj=aIter.Next(); - if (ImpConvertOneObj(pObj,bPath,bLineToArea)) bModChg=TRUE; + ImpConvertOneObj(pObj,bPath,bLineToArea); } } else { SdrObject* pNewObj=ImpConvertOneObj(pObj,bPath,bLineToArea); if (pNewObj!=NULL) { - bModChg=TRUE; bMrkChg=TRUE; GetMarkedObjectListWriteAccess().ReplaceMark(SdrMark(pNewObj,pPV),nm); } |