diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:00:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:14:51 +0100 |
commit | 9aa2f78ed3378739729a2f98225b0508e557a247 (patch) | |
tree | 2b2ebc1158a6ad41cab0b9f5796e84460e43d73a /svx | |
parent | 0709b95f86554bf2063300e8a9566ba35680d2e1 (diff) |
coverity#704813 Unchecked dynamic_cast
Change-Id: I8ac34849f310f291b64e0ef03d4617d94d97b468
Diffstat (limited to 'svx')
-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 5f1aa3fa437c..8de248f14be0 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2310,7 +2310,7 @@ OUString DbDateField::GetFormatText(const Reference< ::com::sun::star::sdb::XCol void DbDateField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const Reference< XNumberFormatter >& /*xFormatter*/) { - lcl_setFormattedDate_nothrow( *dynamic_cast< DateField* >( m_pWindow ), _rxField ); + lcl_setFormattedDate_nothrow(dynamic_cast<DateField&>(*m_pWindow), _rxField); } |