[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Thu Mar 16 13:37:28 UTC 2017
sw/source/uibase/inc/swcont.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 9fdecc7ede30f2c0c356d97cca2c5bfe98d9ad92
Author: Stephan Bergmann <sbergman at 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 );
More information about the Libreoffice-commits
mailing list