From 5962dbf15d99b54d33f7e6589a23b8bca4359168 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 2 Mar 2020 09:14:16 +0200 Subject: 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 --- sw/inc/ndtxt.hxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'sw/inc/ndtxt.hxx') 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 -#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 -- cgit