Kaydet (Commit) c4e8c39e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:defaultparams

Change-Id: If40d95d19a81c847ba909f0e2292103e8302e1aa
üst 61358e8e
...@@ -2220,9 +2220,9 @@ void SwUiWriterTest::testTdf75137() ...@@ -2220,9 +2220,9 @@ void SwUiWriterTest::testTdf75137()
sal_uLong firstIndex = pShellCrsr->GetNode().GetIndex(); sal_uLong firstIndex = pShellCrsr->GetNode().GetIndex();
pShellCrsr->GotoFootnoteAnchor(); pShellCrsr->GotoFootnoteAnchor();
pWrtShell->InsertFootnote(OUString("This is second footnote")); pWrtShell->InsertFootnote(OUString("This is second footnote"));
pWrtShell->Up(false, 1); pWrtShell->Up(false);
sal_uLong secondIndex = pShellCrsr->GetNode().GetIndex(); sal_uLong secondIndex = pShellCrsr->GetNode().GetIndex();
pWrtShell->Down(false, 1); pWrtShell->Down(false);
sal_uLong thirdIndex = pShellCrsr->GetNode().GetIndex(); sal_uLong thirdIndex = pShellCrsr->GetNode().GetIndex();
CPPUNIT_ASSERT_EQUAL(firstIndex, thirdIndex); CPPUNIT_ASSERT_EQUAL(firstIndex, thirdIndex);
CPPUNIT_ASSERT(firstIndex != secondIndex); CPPUNIT_ASSERT(firstIndex != secondIndex);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment