summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ww8import
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-01 14:37:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-01 14:37:02 +0200
commit93aeaa75a4bfd5756b2d3ada59be4f452e320aab (patch)
tree582afb0b96fb677629e06c271aa4914ec0870ccc /sw/qa/extras/ww8import
parent064a01527e5942a6b293c4c51597dfc7be0dde55 (diff)
Improve suppression of loplugin:redundantcast in CPPUNIT_ASSERT
Change-Id: I65f95e7245f08592ea11cc75e1cf34dcbdf16b40
Diffstat (limited to 'sw/qa/extras/ww8import')
-rw-r--r--sw/qa/extras/ww8import/ww8import.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/ww8import/ww8import.cxx b/sw/qa/extras/ww8import/ww8import.cxx
index 4c2c83499405..52cab54b2e61 100644
--- a/sw/qa/extras/ww8import/ww8import.cxx
+++ b/sw/qa/extras/ww8import/ww8import.cxx
@@ -95,7 +95,7 @@ DECLARE_WW8IMPORT_TEST( testTdf105570, "tdf105570.doc" )
SwDoc* pDoc = pTextDoc->GetDocShell()->GetDoc();
SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
SwShellCursor* pShellCursor = pWrtShell->getShellCursor( false );
- SwNodeIndex aIdx = SwNodeIndex( pShellCursor->Start()->nNode );
+ SwNodeIndex aIdx = pShellCursor->Start()->nNode;
// Find first table
SwTableNode* pTableNd = aIdx.GetNode().FindTableNode();