Add comment to SwContent::nYPosition

Change-Id: I0979ada2a31125419ca38b98e7141cfbc1887b28
This commit is contained in:
Stephan Bergmann
2017-03-16 14:36:48 +01:00
parent 665f58590e
commit 9fdecc7ede

View File

@@ -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 );