[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Jan 29 10:27:38 PST 2016


 sw/source/filter/ww8/rtfexport.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 08a4f4ba54763a03645cb64d9ee69a67655eae92
Author: Miklos Vajna <vmiklos at collabora.co.uk>
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 <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

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;
 }
 


More information about the Libreoffice-commits mailing list