diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2018-10-25 13:25:59 +0200 |
---|---|---|
committer | Michael Stahl <Michael.Stahl@cib.de> | 2018-11-10 19:47:00 +0100 |
commit | d6d76a89898cdb4b448d97daed3e3f0fb8b47fb9 (patch) | |
tree | abe3b62864c1f1eeaf7edd66a28aa5e3083f86b6 /sw/source/core/txtnode | |
parent | 44bb7e735404724a05035fcbb9ac147e750e5fa5 (diff) |
sw_redlinehide_3: adapt SwTextNode::IsNumbered() & callers
Answer depends on layout.
Change-Id: Ibc7bddfa1b04630ddcfcfa429fbb507347073ce2
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index cf8ec5bbeccd..b571fb73e3cc 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -2890,9 +2890,9 @@ void SwTextNode::NumRuleChgd() } // -> #i27615# -bool SwTextNode::IsNumbered() const +bool SwTextNode::IsNumbered(SwRootFrame const*const pLayout) const { - SwNumRule* pRule = GetNum() ? GetNum()->GetNumRule() : nullptr; + SwNumRule* pRule = GetNum(pLayout) ? GetNum(pLayout)->GetNumRule() : nullptr; return pRule && IsCountedInList(); } |