Kaydet (Commit) 2c7c8aa2 authored tarafından Michael Stahl's avatar Michael Stahl

sw: remove pointless indirection to SwTextNode::GetNumRule_

Change-Id: I4b5d34d3efd4f49f8b1690ed4c2b063c782b9d20
üst f6922001
...@@ -156,8 +156,6 @@ class SW_DLLPUBLIC SwTextNode ...@@ -156,8 +156,6 @@ class SW_DLLPUBLIC SwTextNode
SAL_DLLPRIVATE void CalcHiddenCharFlags() const; SAL_DLLPRIVATE void CalcHiddenCharFlags() const;
SAL_DLLPRIVATE SwNumRule * GetNumRule_(bool bInParent) const;
SAL_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM, SAL_DLLPRIVATE void SetLanguageAndFont( const SwPaM &rPaM,
LanguageType nLang, sal_uInt16 nLangWhichId, LanguageType nLang, sal_uInt16 nLangWhichId,
const vcl::Font *pFont, sal_uInt16 nFontWhichId ); const vcl::Font *pFont, sal_uInt16 nFontWhichId );
......
...@@ -2812,8 +2812,7 @@ void SwTextNode::GCAttr() ...@@ -2812,8 +2812,7 @@ void SwTextNode::GCAttr()
} }
} }
// #i23726# SwNumRule* SwTextNode::GetNumRule(bool bInParent) const
SwNumRule* SwTextNode::GetNumRule_(bool bInParent) const
{ {
SwNumRule* pRet = nullptr; SwNumRule* pRet = nullptr;
...@@ -2853,11 +2852,6 @@ SwNumRule* SwTextNode::GetNumRule_(bool bInParent) const ...@@ -2853,11 +2852,6 @@ SwNumRule* SwTextNode::GetNumRule_(bool bInParent) const
return pRet; return pRet;
} }
SwNumRule* SwTextNode::GetNumRule(bool bInParent) const
{
return GetNumRule_(bInParent);
}
void SwTextNode::NumRuleChgd() void SwTextNode::NumRuleChgd()
{ {
if ( IsInList() ) if ( IsInList() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment