summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/rtfexport.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index 766d6d4a4823..3d3494c7f161 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -177,7 +177,7 @@ void RtfExport::WriteChar(sal_Unicode)
/* WriteChar() has nothing to do for rtf. */
}
-static bool IsExportNumRule(const SwNumRule& rRule, sal_uInt8* pEnd = nullptr)
+static bool IsExportNumRule(const SwNumRule& rRule)
{
sal_uInt8 nEnd = MAXLEVEL;
while (nEnd-- && !rRule.GetNumFormat(nEnd))
@@ -195,8 +195,6 @@ static bool IsExportNumRule(const SwNumRule& rRule, sal_uInt8* pEnd = nullptr)
break;
}
- if (pEnd)
- *pEnd = nEnd;
return nLvl != nEnd;
}