diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-02 09:14:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-02 12:26:24 +0100 |
commit | 5962dbf15d99b54d33f7e6589a23b8bca4359168 (patch) | |
tree | 44129e9452ab5004def9257aecfbc4c41e1c566e /sw/inc/ndtxt.hxx | |
parent | 4e9aa386556f49358a1cef5c5f6b9b26d2e9e1b8 (diff) |
speedup sw build a little
from 11m46 to 11m21
Used ClangBuildAnalyzer to find headers that took a long time
to parse (in total, across all modules).
(*) moved the boost stuff out of sw/inc/docary into a new header.
(*) make sw/inc/ndtxt no longer include doc.hxx
Change-Id: Ia1d4ebddb4ddd4ec4ffbc011f4a5e24a42b46d3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89808
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index acef43b0010e..dadf38794ef9 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -21,7 +21,6 @@ #include <cppuhelper/weakref.hxx> -#include "doc.hxx" #include "swdllapi.h" #include "node.hxx" #include "hintids.hxx" @@ -63,6 +62,8 @@ class SwGrammarMarkUp; struct SwDocStat; struct SwParaIdleData_Impl; enum class ExpandMode; +enum class SwFieldIds : sal_uInt16; +class SwField; namespace sw { namespace mark { enum class RestoreMode; } } @@ -708,13 +709,6 @@ public: bool IsHiddenByParaField() const { return m_pSwpHints && m_pSwpHints->IsHiddenByParaField(); } - int FieldCanHideParaWeight(SwFieldIds eFieldId) const - { - return GetDoc()->FieldCanHideParaWeight(eFieldId); - } - bool FieldHidesPara(const SwField& rField) const - { return GetDoc()->FieldHidesPara(rField); } - /// Hidden Paragraph Field: bool HasHiddenCharAttribute( bool bWholePara ) const |