diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-12-06 22:40:00 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-12-07 14:46:05 +0100 |
commit | 9fb1919a65267dea1a07a76c4e8d32901dc0822a (patch) | |
tree | 86a6fa03587694b9f87506ac7603764da10b8e38 /sw/inc/swrect.hxx | |
parent | b1955cced2e63710b67cd9d4f8392333dbfdf667 (diff) |
sw: document our second favorite rectangle class a little
Change-Id: I0d7dbfd0bc2d563a39c560dbebfd400cb7c35faa
Diffstat (limited to 'sw/inc/swrect.hxx')
-rw-r--r-- | sw/inc/swrect.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx index e2be41a10d6e..2e0b0b2664e2 100644 --- a/sw/inc/swrect.hxx +++ b/sw/inc/swrect.hxx @@ -26,6 +26,10 @@ class SvStream; +/// *Of course* Writer needs its own rectangles. +/// This is half-open so m_Point.X() + m_Size.getWidth() is *not* included. +/// Note the tools Rectangle is (usually? sometimes?) closed so there's a +/// SVRect() to subtract 1 for the conversion. class SAL_WARN_UNUSED SwRect { Point m_Point; |