diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-18 12:24:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-20 20:40:18 +0100 |
commit | b1c167b4f5606a46c1bf484628332e8c6eb021fb (patch) | |
tree | c639b8e07f0b09d3d5db3c5515698ba318275a12 /sw | |
parent | d8920e6d1de0698f7c132d74cc34e2f1021c6fb3 (diff) |
coverity#1078601 Unchecked dynamic_cast
Change-Id: If8e69fa6ec433be7bc8c8f67a6de55537f7201bf
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/acctextframe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index e4c9aed78314..5699092008b7 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -84,9 +84,9 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem * case RES_TITLE_CHANGED: { const OUString& sOldTitle( - dynamic_cast<const SwStringMsgPoolItem*>(pOld)->GetString() ); + dynamic_cast<const SwStringMsgPoolItem&>(*pOld).GetString() ); const OUString& sNewTitle( - dynamic_cast<const SwStringMsgPoolItem*>(pNew)->GetString() ); + dynamic_cast<const SwStringMsgPoolItem&>(*pNew).GetString() ); if ( sOldTitle == sNewTitle ) { break; |