diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:01:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:14:51 +0100 |
commit | 0f8feff0818bedcfe0ffc0b3a63b2a4665d72fab (patch) | |
tree | 687a826d6e86c60fdc00eb2326943e130b23637b | |
parent | 9aa2f78ed3378739729a2f98225b0508e557a247 (diff) |
coverity#704814 Unchecked dynamic_cast
Change-Id: I684679c04cec7f8ed17a20fb3c4e99d418c4be5a
-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 8de248f14be0..8b1575ba48e6 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2021,7 +2021,7 @@ namespace OUString DbNumericField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter, Color** /*ppColor*/) { - return lcl_setFormattedNumeric_nothrow( *dynamic_cast< DoubleNumericField* >( m_pPainter ), *this, _rxField, _rxFormatter ); + return lcl_setFormattedNumeric_nothrow(dynamic_cast<DoubleNumericField&>(*m_pPainter), *this, _rxField, _rxFormatter); } |