summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-06 12:59:21 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-10 19:47:00 +0100
commit4612aa5aa83ee08127170edd90516e3304415c51 (patch)
tree4633f468068f7e8eec3343b4c11e57e5612cd0e8
parent8b60ed910e5394920581a1eeef65ed2feafed693 (diff)
sw: remove pointless indirection to SwTextNode::GetNumRule_
Change-Id: I4b5d34d3efd4f49f8b1690ed4c2b063c782b9d20
-rw-r--r--sw/inc/ndtxt.hxx2
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx8
2 files changed, 1 insertions, 9 deletions
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index b483d7fc9e9d..10c227a0a056 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -156,8 +156,6 @@ class SW_DLLPUBLIC SwTextNode
SAL_DLLPRIVATE void CalcHiddenCharFlags() const;
- SAL_DLLPRIVATE SwNumRule * GetNumRule_(bool bInParent) const;
-
SAL_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM,
LanguageType nLang, sal_uInt16 nLangWhichId,
const vcl::Font *pFont, sal_uInt16 nFontWhichId );
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 24db0556160f..e8ffba5f77e5 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2812,8 +2812,7 @@ void SwTextNode::GCAttr()
}
}
-// #i23726#
-SwNumRule* SwTextNode::GetNumRule_(bool bInParent) const
+SwNumRule* SwTextNode::GetNumRule(bool bInParent) const
{
SwNumRule* pRet = nullptr;
@@ -2853,11 +2852,6 @@ SwNumRule* SwTextNode::GetNumRule_(bool bInParent) const
return pRet;
}
-SwNumRule* SwTextNode::GetNumRule(bool bInParent) const
-{
- return GetNumRule_(bInParent);
-}
-
void SwTextNode::NumRuleChgd()
{
if ( IsInList() )