coverity#1130366 Unchecked dynamic_cast
Change-Id: Icf7576b12fe3c876193fd87ce07c18e57a3dfad7
This commit is contained in:
@@ -327,6 +327,7 @@ DECLARE_ODFIMPORT_TEST(testFdo68839, "fdo68839.odt")
|
||||
DECLARE_ODFIMPORT_TEST(testFdo37606, "fdo37606.odt")
|
||||
{
|
||||
SwXTextDocument* pTxtDoc = dynamic_cast<SwXTextDocument *>(mxComponent.get());
|
||||
CPPUNIT_ASSERT(pTxtDoc);
|
||||
SwWrtShell* pWrtShell = pTxtDoc->GetDocShell()->GetWrtShell();
|
||||
SwShellCrsr* pShellCrsr = pWrtShell->getShellCrsr(false);
|
||||
|
||||
|
Reference in New Issue
Block a user