diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-13 20:38:36 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-09-19 10:18:33 +0200 |
commit | bf488abbf46da51d17c3ad7ccf9e39005a55c2d7 (patch) | |
tree | d45c0f509b5ec9eabae071fbce004dbac7350a05 /sw/inc/ndtxt.hxx | |
parent | 7409c8a6a61623d8f6463e1229a8fb1c9d9aedcc (diff) |
sw_redlinehide_2: remove one bool from SwTextNode::ExpandText()
... to make call sites both more readable and more flexible.
Change-Id: I28932290799cb3c354cdcaad8e426050bcfede50
Diffstat (limited to 'sw/inc/ndtxt.hxx')
-rw-r--r-- | sw/inc/ndtxt.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx index 68a8a499b119..64bdaa3a5cc1 100644 --- a/sw/inc/ndtxt.hxx +++ b/sw/inc/ndtxt.hxx @@ -61,6 +61,7 @@ class SwWrongList; class SwGrammarMarkUp; struct SwDocStat; struct SwParaIdleData_Impl; +enum class ExpandMode; namespace sw { namespace mark { enum class RestoreMode; } } @@ -686,7 +687,7 @@ public: const bool bWithNum = false, const bool bAddSpaceAfterListLabelStr = false, const bool bWithSpacesForLevel = false, - const bool bWithFootnote = true ) const; + const ExpandMode eAdditionalMode = ExpandMode(0)) const; bool GetExpandText( SwTextNode& rDestNd, const SwIndex* pDestIdx, sal_Int32 nIdx, sal_Int32 nLen, bool bWithNum = false, bool bWithFootnote = true, |