diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-29 18:48:09 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-29 18:27:04 +0000 |
commit | 08a4f4ba54763a03645cb64d9ee69a67655eae92 (patch) | |
tree | ded38595d4ab5abbc4d708982d4d6238d5de7a98 /sw | |
parent | 1db7af8bc9febdf72138fac533ec81d6983da729 (diff) |
RTF export: remove unused parameter of IsExportNumRule()
Change-Id: I75bc321a1997fe250ac6a7cb5dced50a76c36413
Reviewed-on: https://gerrit.libreoffice.org/21909
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 4 |
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; } |