diff options
author | Matteo Casalin <matteo.casalin@gmx.com> | 2012-10-28 23:23:53 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-20 19:32:43 +0000 |
commit | 53ad646f54f8aa33b86c696c04500fd08ea6f3b6 (patch) | |
tree | 3eef1a050a5cf7b8b531f56e125d7252f4aab8fe /svx/source/table/cell.cxx | |
parent | 5e5c11c664f67ff9fd1120905b09a32bea3b2f6c (diff) |
Enforce use of accessors on gen.hxx structures
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e
Reviewed-on: https://gerrit.libreoffice.org/936
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/table/cell.cxx')
-rw-r--r-- | svx/source/table/cell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 7878426e1fe8..b7598208bbba 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -590,10 +590,10 @@ const Rectangle& Cell::GetCurrentBoundRect() const void Cell::TakeTextAnchorRect(Rectangle& rAnchorRect) const { - rAnchorRect.nLeft = maCellRect.nLeft + GetTextLeftDistance(); - rAnchorRect.nRight = maCellRect.nRight - GetTextRightDistance(); - rAnchorRect.nTop = maCellRect.nTop + GetTextUpperDistance(); - rAnchorRect.nBottom = maCellRect.nBottom - GetTextLowerDistance(); + rAnchorRect.Left() = maCellRect.Left() + GetTextLeftDistance(); + rAnchorRect.Right() = maCellRect.Right() - GetTextRightDistance(); + rAnchorRect.Top() = maCellRect.Top() + GetTextUpperDistance(); + rAnchorRect.Bottom() = maCellRect.Bottom() - GetTextLowerDistance(); } // ----------------------------------------------------------------------------- |