From 1a5e817140d2087dbce0da3df2d9a416d395ff98 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 7 Apr 2014 10:01:46 +0100 Subject: coverity#704815 Unchecked dynamic_cast Change-Id: I019caaf29f1878fff59f6133d396f9a3ed02722b --- svx/source/fmcomp/gridcell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index 8b1575ba48e6..3b46a5731376 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2027,7 +2027,7 @@ OUString DbNumericField::GetFormatText(const Reference< ::com::sun::star::sdb::X void DbNumericField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter) { - lcl_setFormattedNumeric_nothrow( *dynamic_cast< DoubleNumericField* >( m_pWindow ), *this, _rxField, _rxFormatter ); + lcl_setFormattedNumeric_nothrow(dynamic_cast(*m_pWindow), *this, _rxField, _rxFormatter); } -- cgit