diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx index 15c7a38c3510..7481b4a13584 100644 --- a/sw/source/core/txtnode/atrfld.cxx +++ b/sw/source/core/txtnode/atrfld.cxx @@ -68,7 +68,7 @@ SwFmtFld::SwFmtFld( const SwField &rFld ) { // input field in-place editing SetWhich( RES_TXTATR_INPUTFIELD ); - dynamic_cast(GetField())->SetFmtFld( *this ); + static_cast(GetField())->SetFmtFld( *this ); } else if ( GetField()->GetTyp()->Which() == RES_POSTITFLD ) {