diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-13 16:13:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-17 10:40:43 +0200 |
commit | 8c8d878632f4aa32a63080f6956b8cb76f48af0f (patch) | |
tree | a6cd4890b98f294ec6bbe5ca407bbc187818fe5f /svx/source/svdraw/svdocirc.cxx | |
parent | c64f221fc2e22ffa60c4d78240893f7f04531b3e (diff) |
rename SetRectsDirty->SetBoundAndSnapRectsDirty
because there are lots of things being marked dirty, and I like to be
sure I know what the code is doing
Change-Id: Ifd0380c5560adc4a054495551885fe33af4f3e5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120460
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdocirc.cxx')
-rw-r--r-- | svx/source/svdraw/svdocirc.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx index 9254c2bcefef..10c56a53db0f 100644 --- a/svx/source/svdraw/svdocirc.cxx +++ b/svx/source/svdraw/svdocirc.cxx @@ -564,7 +564,7 @@ bool SdrCircObj::applySpecialDrag(SdrDragStat& rDrag) nEndAngle = nAngle; } - SetRectsDirty(); + SetBoundAndSnapRectsDirty(); SetXPolyDirty(); ImpSetCircInfoToAttr(); SetChanged(); @@ -749,7 +749,7 @@ bool SdrCircObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) } } m_bClosedObj=meCircleKind!=SdrCircKind::Arc; - SetRectsDirty(); + SetBoundAndSnapRectsDirty(); SetXPolyDirty(); ImpSetCircInfoToAttr(); if (bRet) @@ -814,7 +814,7 @@ void SdrCircObj::NbcMove(const Size& aSiz) m_aOutRect.Move(aSiz); maSnapRect.Move(aSiz); SetXPolyDirty(); - SetRectsDirty(true); + SetBoundAndSnapRectsDirty(true); } void SdrCircObj::NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) @@ -1051,7 +1051,7 @@ void SdrCircObj::NbcSetSnapRect(const tools::Rectangle& rRect) maRect=rRect; ImpJustifyRect(maRect); } - SetRectsDirty(); + SetBoundAndSnapRectsDirty(); SetXPolyDirty(); ImpSetCircInfoToAttr(); } @@ -1102,7 +1102,7 @@ void SdrCircObj::ImpSetAttrToCircInfo() if(bKindChg || (meCircleKind != SdrCircKind::Full && bAngleChg)) { SetXPolyDirty(); - SetRectsDirty(); + SetBoundAndSnapRectsDirty(); } } } |