diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-01 14:14:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-01 14:14:41 +0200 |
commit | 6373f9ec6d056ffaef4a209b20a6ec7bab51c7b3 (patch) | |
tree | 25b22e78d88bd445fae0bf135543857297bb7d95 /sw | |
parent | d3f5800a9655ac61a5ef8d0b1b2bc0f436b32cfe (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I2b03835f83fca604f8ef4db2cb292e6123140e86
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index f02a6c186a89..e48d67c84a10 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")); |