sw/source/uibase/inc/swcont.hxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 9fdecc7ede30f2c0c356d97cca2c5bfe98d9ad92 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Mar 16 14:36:48 2017 +0100 Add comment to SwContent::nYPosition Change-Id: I0979ada2a31125419ca38b98e7141cfbc1887b28 diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx index 078304a59f37..69b2f91198b5 100644 --- a/sw/source/uibase/inc/swcont.hxx +++ b/sw/source/uibase/inc/swcont.hxx @@ -72,6 +72,10 @@ class SwContent : public SwTypeNumber const SwContentType* pParent; OUString sContentName; long nYPosition; + // most subclasses appear to use this for a tools/gen.hxx-style + // geometric Y position, while SwOutlineContent wants to store a + // SwOutlineNodes::size_type value (where all such values used in + // practice hopefully fit into 'long') bool bInvisible; public: SwContent(const SwContentType* pCnt, const OUString& rName, long nYPos ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits