[Libreoffice-commits] core.git: sw/qa
Stephan Bergmann
sbergman at redhat.com
Fri Jul 1 12:15:06 UTC 2016
sw/qa/extras/uiwriter/uiwriter.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 6373f9ec6d056ffaef4a209b20a6ec7bab51c7b3
Author: Stephan Bergmann <sbergman at 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"));
More information about the Libreoffice-commits
mailing list