coverity#1158074 Unchecked dynamic_cast
Change-Id: I29e9a98a862b2d6b5263606111c7be75e2160261
This commit is contained in:
@@ -68,7 +68,7 @@ SwFmtFld::SwFmtFld( const SwField &rFld )
|
||||
{
|
||||
// input field in-place editing
|
||||
SetWhich( RES_TXTATR_INPUTFIELD );
|
||||
dynamic_cast<SwInputField*>(GetField())->SetFmtFld( *this );
|
||||
static_cast<SwInputField*>(GetField())->SetFmtFld( *this );
|
||||
}
|
||||
else if ( GetField()->GetTyp()->Which() == RES_POSTITFLD )
|
||||
{
|
||||
|
Reference in New Issue
Block a user