diff options
author | Jim Raykowski <raykowj@gmail.com> | 2022-04-24 12:07:35 -0800 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2022-04-29 22:43:38 +0200 |
commit | c81f4a4ecbfa7dc97d8c28b5ec5f00d1d561b6bb (patch) | |
tree | 61c709887592802b96ce629f4fa0c9adb994839b /sw/source/uibase/inc/swcont.hxx | |
parent | d4370761421508522a29c5206aea6e538d71b342 (diff) |
tdf#143569 SwNavigator: Make Headings entries from headings in frames
be in document layout order, not alphabetical order
Change-Id: I75328311a7ddbda1eb050135709da20fed5d054a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133359
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw/source/uibase/inc/swcont.hxx')
-rw-r--r-- | sw/source/uibase/inc/swcont.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/swcont.hxx b/sw/source/uibase/inc/swcont.hxx index a965b0fadbc6..77b9d5656030 100644 --- a/sw/source/uibase/inc/swcont.hxx +++ b/sw/source/uibase/inc/swcont.hxx @@ -75,13 +75,13 @@ class SwContent : public SwTypeNumber { const SwContentType* m_pParent; OUString m_sContentName; - tools::Long m_nYPosition; + double m_nYPosition; // some subclasses appear to use this for a tools/gen.hxx-style // geometric Y position, while e.g. SwOutlineContent wants to store // the index in its subtree bool m_bInvisible; public: - SwContent(const SwContentType* pCnt, const OUString& rName, tools::Long nYPos ); + SwContent(const SwContentType* pCnt, const OUString& rName, double nYPos); virtual bool IsProtect() const; const SwContentType* GetParent() const {return m_pParent;} |