sw/source/filter/ww8/rtfexport.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 08a4f4ba54763a03645cb64d9ee69a67655eae92 Author: Miklos Vajna <[email protected]> Date: Fri Jan 29 18:48:09 2016 +0100 RTF export: remove unused parameter of IsExportNumRule() Change-Id: I75bc321a1997fe250ac6a7cb5dced50a76c36413 Reviewed-on: https://gerrit.libreoffice.org/21909 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins <[email protected]> diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index 766d6d4..3d3494c 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
