diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-10-25 21:04:27 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-03-04 09:45:28 +0000 |
commit | bb4a052a768d5936e0e241b15d3c08a56284eeb4 (patch) | |
tree | fd3af4885825c908b0b5eff349db5442ebae29f2 /svx/source/svdraw/svdopath.cxx | |
parent | f763e453263a8acfdcdf553a7c3a46ddaf476c13 (diff) |
svx: SdrTextObj maRect - use getter and add funcs. for manipulation
Change-Id: I0a416fa2ac470650c2ef430dbb91bf8d5a8013cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148210
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/svdraw/svdopath.cxx')
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index a4998647c835..78012451b2bd 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -1682,7 +1682,7 @@ void SdrPathObj::ImpForceLineAngle() maGeo.RecalcTan(); // for SdrTextObj, keep aRect up to date - maRect = tools::Rectangle::Normalize(aPoint0, aPoint1); + setRectangle(tools::Rectangle::Normalize(aPoint0, aPoint1)); } void SdrPathObj::ImpForceKind() @@ -1746,7 +1746,7 @@ void SdrPathObj::ImpForceKind() // #i10659# for SdrTextObj, keep aRect up to date if(GetPathPoly().count()) { - maRect = lcl_ImpGetBoundRect(GetPathPoly()); + setRectangle(lcl_ImpGetBoundRect(GetPathPoly())); } } @@ -2469,7 +2469,7 @@ void SdrPathObj::NbcSetPoint(const Point& rPnt, sal_uInt32 nHdlNum) if(GetPathPoly().count()) { // #i10659# for SdrTextObj, keep aRect up to date - maRect = lcl_ImpGetBoundRect(GetPathPoly()); + setRectangle(lcl_ImpGetBoundRect(GetPathPoly())); } } |