From 9fb1919a65267dea1a07a76c4e8d32901dc0822a Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 6 Dec 2016 22:40:00 +0100 Subject: sw: document our second favorite rectangle class a little Change-Id: I0d7dbfd0bc2d563a39c560dbebfd400cb7c35faa --- sw/inc/swrect.hxx | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit