diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:01:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:14:51 +0100 |
commit | 1a5e817140d2087dbce0da3df2d9a416d395ff98 (patch) | |
tree | 62a1d6386fbc3b1292d61f9b70c8d79735a8e41f /svx/source | |
parent | 0f8feff0818bedcfe0ffc0b3a63b2a4665d72fab (diff) |
coverity#704815 Unchecked dynamic_cast
Change-Id: I019caaf29f1878fff59f6133d396f9a3ed02722b
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/fmcomp/gridcell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<DoubleNumericField&>(*m_pWindow), *this, _rxField, _rxFormatter); } |