sw/qa/extras/uiwriter/uiwriter.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 6373f9ec6d056ffaef4a209b20a6ec7bab51c7b3
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Jul 1 14:14:04 2016 +0200

    clang-analyzer-deadcode.DeadStores
    
    Change-Id: I2b03835f83fca604f8ef4db2cb292e6123140e86

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx 
b/sw/qa/extras/uiwriter/uiwriter.cxx
index f02a6c1..e48d67c 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -1031,7 +1031,6 @@ void SwUiWriterTest::testAutoCorr()
     //AutoCorrect with change style to bolt
     pWrtShell->Insert("Bolt");
     pWrtShell->AutoCorrect(corr, cIns);
-    nIndex = pWrtShell->GetCursor()->GetNode().GetIndex();
     const uno::Reference< text::XTextRange > xRun = getRun(getParagraph(1), 2);
     CPPUNIT_ASSERT_EQUAL(OUString("Bolt"), xRun->getString());
     CPPUNIT_ASSERT_EQUAL(OUString("Arial"), getProperty<OUString>(xRun, 
"CharFontName"));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to