diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-07 10:24:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-07 12:24:42 +0000 |
commit | 7ca55ef5cf75e9944fd9edc980d23462e83fa1fb (patch) | |
tree | 1c0f80d47899bef52deac738888346e876e8e592 /sw | |
parent | coverity#1158062 Unchecked dynamic_cast (diff) | |
download | core-7ca55ef5cf75e9944fd9edc980d23462e83fa1fb.tar.gz core-7ca55ef5cf75e9944fd9edc980d23462e83fa1fb.zip |
coverity#1158074 Unchecked dynamic_cast
Change-Id: I29e9a98a862b2d6b5263606111c7be75e2160261
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/atrfld.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<SwInputField*>(GetField())->SetFmtFld( *this ); + static_cast<SwInputField*>(GetField())->SetFmtFld( *this ); } else if ( GetField()->GetTyp()->Which() == RES_POSTITFLD ) { |