diff options
Diffstat (limited to 'sc/source/core/tool/editutil.cxx')
-rw-r--r-- | sc/source/core/tool/editutil.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx index 4d797ccda674..c2fedb2749c4 100644 --- a/sc/source/core/tool/editutil.cxx +++ b/sc/source/core/tool/editutil.cxx @@ -877,7 +877,7 @@ void ScFieldEditEngine::FieldClicked( const SvxFieldItem& rField, sal_Int32, sal { const SvxFieldData* pFld = rField.GetField(); - if ( pFld && pFld->ISA( SvxURLField ) && bExecuteURL ) + if ( pFld && dynamic_cast<const SvxURLField*>( pFld) != nullptr && bExecuteURL ) { const SvxURLField* pURLField = static_cast<const SvxURLField*>(pFld); ScGlobal::OpenURL( pURLField->GetURL(), pURLField->GetTargetFrame() ); |