diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 3553a5d3a899954c4db09e264d8faf07e817e564 (patch) | |
tree | 15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/svdraw/svdpage.cxx | |
parent | e624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff) |
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/svdraw/svdpage.cxx')
-rw-r--r-- | svx/source/svdraw/svdpage.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 168894803dc2..911dfd594cf4 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -230,7 +230,7 @@ void SdrObjList::Clear() // flushViewObjectContacts() is done since SdrObject::Free is not guaranteed // to delete the object and thus refresh visualisations - pObj->GetViewContact().flushViewObjectContacts(true); + pObj->GetViewContact().flushViewObjectContacts(); bObjectsRemoved = true; @@ -413,7 +413,7 @@ SdrObject* SdrObjList::NbcRemoveObject(size_t nObjNum) DBG_ASSERT(pObj!=NULL,"Could not find object to remove."); if (pObj!=NULL) { // flushViewObjectContacts() clears the VOC's and those invalidate - pObj->GetViewContact().flushViewObjectContacts(true); + pObj->GetViewContact().flushViewObjectContacts(); DBG_ASSERT(pObj->IsInserted(),"ZObjekt does not have the status Inserted."); pObj->SetInserted(false); // Ruft u.a. den UserCall @@ -445,7 +445,7 @@ SdrObject* SdrObjList::RemoveObject(size_t nObjNum) if(pObj) { // flushViewObjectContacts() clears the VOC's and those invalidate - pObj->GetViewContact().flushViewObjectContacts(true); + pObj->GetViewContact().flushViewObjectContacts(); DBG_ASSERT(pObj->IsInserted(),"ZObjekt does not have the status Inserted."); if (pModel!=NULL) { @@ -496,7 +496,7 @@ SdrObject* SdrObjList::NbcReplaceObject(SdrObject* pNewObj, size_t nObjNum) ReplaceObjectInContainer(*pNewObj,nObjNum); // flushViewObjectContacts() clears the VOC's and those invalidate - pObj->GetViewContact().flushViewObjectContacts(true); + pObj->GetViewContact().flushViewObjectContacts(); pNewObj->SetOrdNum(nObjNum); pNewObj->SetObjList(this); @@ -543,7 +543,7 @@ SdrObject* SdrObjList::ReplaceObject(SdrObject* pNewObj, size_t nObjNum) ReplaceObjectInContainer(*pNewObj,nObjNum); // flushViewObjectContacts() clears the VOC's and those invalidate - pObj->GetViewContact().flushViewObjectContacts(true); + pObj->GetViewContact().flushViewObjectContacts(); pNewObj->SetOrdNum(nObjNum); pNewObj->SetObjList(this); @@ -1102,7 +1102,7 @@ void ImpPageChange(SdrPage& rSdrPage) if(rSdrPage.GetModel()) { - rSdrPage.GetModel()->SetChanged(true); + rSdrPage.GetModel()->SetChanged(); SdrHint aHint(HINT_PAGEORDERCHG); aHint.SetPage(&rSdrPage); rSdrPage.GetModel()->Broadcast(aHint); @@ -1615,7 +1615,7 @@ void SdrPage::TRG_ClearMasterPage() SetChanged(); // the flushViewObjectContacts() will do needed invalidates by deleting the involved VOCs - mpMasterPageDescriptor->GetUsedPage().GetViewContact().flushViewObjectContacts(true); + mpMasterPageDescriptor->GetUsedPage().GetViewContact().flushViewObjectContacts(); delete mpMasterPageDescriptor; mpMasterPageDescriptor = 0L; @@ -1754,7 +1754,7 @@ Color SdrPage::GetPageBackgroundColor( SdrPageView* pView, bool bScreenDisplay ) Color SdrPage::GetPageBackgroundColor() const // #i75566# GetBackgroundColor -> GetPageBackgroundColor { - return GetPageBackgroundColor( NULL, true ); + return GetPageBackgroundColor( NULL ); } /** this method returns true if the object from the ViewObjectContact should |