diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 11:00:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 11:32:56 +0100 |
commit | b487a48294dad588e16443d195e4526e10eaf022 (patch) | |
tree | dad201d93e8dcedfffc4a0dc53bfbb0d1ae5a017 | |
parent | bde63c71fcf593ad5830f15ba0a913c5910972a6 (diff) |
coverity#1078570 Unchecked dynamic_cast
Change-Id: I9cfdcad1c5e36b9cc6b44dcd3a25018bda6281ce
-rw-r--r-- | sw/source/core/frmedt/fefly1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx index 3ca656c41551..25c329ffcf15 100644 --- a/sw/source/core/frmedt/fefly1.cxx +++ b/sw/source/core/frmedt/fefly1.cxx @@ -1940,7 +1940,7 @@ void SwFEShell::SetObjTitle( const OUString& rTitle ) SwFrmFmt* pFmt = FindFrmFmt( pObj ); if ( pFmt->Which() == RES_FLYFRMFMT ) { - GetDoc()->SetFlyFrmTitle( *(dynamic_cast<SwFlyFrmFmt*>(pFmt)), + GetDoc()->SetFlyFrmTitle( dynamic_cast<SwFlyFrmFmt&>(*pFmt), rTitle ); } else |