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

Stephan Bergmann sbergman at redhat.com
Mon Oct 19 23:42:57 PDT 2015


 sw/qa/extras/uiwriter/uiwriter.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c4e8c39e67b555dbbf9ccbf98f2b22795a862f7d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 20 08:42:32 2015 +0200

    loplugin:defaultparams
    
    Change-Id: If40d95d19a81c847ba909f0e2292103e8302e1aa

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index e05c6ba..9cbbc07 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -2220,9 +2220,9 @@ void SwUiWriterTest::testTdf75137()
     sal_uLong firstIndex = pShellCrsr->GetNode().GetIndex();
     pShellCrsr->GotoFootnoteAnchor();
     pWrtShell->InsertFootnote(OUString("This is second footnote"));
-    pWrtShell->Up(false, 1);
+    pWrtShell->Up(false);
     sal_uLong secondIndex = pShellCrsr->GetNode().GetIndex();
-    pWrtShell->Down(false, 1);
+    pWrtShell->Down(false);
     sal_uLong thirdIndex = pShellCrsr->GetNode().GetIndex();
     CPPUNIT_ASSERT_EQUAL(firstIndex, thirdIndex);
     CPPUNIT_ASSERT(firstIndex != secondIndex);


More information about the Libreoffice-commits mailing list