clang-analyzer-deadcode.DeadStores

Change-Id: I2b03835f83fca604f8ef4db2cb292e6123140e86
This commit is contained in:
Stephan Bergmann
2016-07-01 14:14:04 +02:00
parent d3f5800a96
commit 6373f9ec6d

View File

@@ -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"));