summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-07 10:01:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-07 10:14:51 +0100
commit1a5e817140d2087dbce0da3df2d9a416d395ff98 (patch)
tree62a1d6386fbc3b1292d61f9b70c8d79735a8e41f
parent0f8feff0818bedcfe0ffc0b3a63b2a4665d72fab (diff)
coverity#704815 Unchecked dynamic_cast
Change-Id: I019caaf29f1878fff59f6133d396f9a3ed02722b
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
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);
}