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

Jochen Nitschke j.nitschke+logerrit at ok.de
Sat Jan 21 11:43:39 UTC 2017


 sw/source/core/doc/doccomp.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2bc1accd079604da2bee76010bd8c36b410af516
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sat Jan 21 11:07:29 2017 +0100

    fix confusing function arguments
    
    cppcheck: funcArgOrderDifferent
    > Function 'CompareSequence' argument order different:
    > declaration 'rData1, rData2, rD1, rD2'
    > definition 'rD1, rD2, rMD1, rMD2'
    
    no logic change
    
    Change-Id: Ie43b66e867c6f5febd825d06380a27c736d6fded
    Reviewed-on: https://gerrit.libreoffice.org/33365
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
    Tested-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index 380e565..5fc3b6f 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -234,8 +234,8 @@ private:
         sal_uLong CheckDiag( sal_uLong nStt1, sal_uLong nEnd1,
                         sal_uLong nStt2, sal_uLong nEnd2, sal_uLong* pCost );
     public:
-        CompareSequence( CompareData& rData1, CompareData& rData2,
-                        const MovedData& rD1, const MovedData& rD2 );
+        CompareSequence( CompareData& rD1, CompareData& rD2,
+                        const MovedData& rMD1, const MovedData& rMD2 );
         ~CompareSequence();
     };
 


More information about the Libreoffice-commits mailing list