From b1c167b4f5606a46c1bf484628332e8c6eb021fb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Apr 2014 12:24:31 +0100 Subject: coverity#1078601 Unchecked dynamic_cast Change-Id: If8e69fa6ec433be7bc8c8f67a6de55537f7201bf --- sw/source/core/access/acctextframe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') 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(pOld)->GetString() ); + dynamic_cast(*pOld).GetString() ); const OUString& sNewTitle( - dynamic_cast(pNew)->GetString() ); + dynamic_cast(*pNew).GetString() ); if ( sOldTitle == sNewTitle ) { break; -- cgit