diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:00:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-07 10:14:50 +0100 |
commit | 0709b95f86554bf2063300e8a9566ba35680d2e1 (patch) | |
tree | ec2706c9f35fc78332a1784f0c58bde994696f78 /svx/source/fmcomp | |
parent | d816acd0e21e996ce00658ffe8d694b96c5741c1 (diff) |
coverity#704812 Unchecked dynamic_cast
Change-Id: Idd37bd7abc608a84a9a1bc731c26455b0901080e
Diffstat (limited to 'svx/source/fmcomp')
-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 c8665de06366..5f1aa3fa437c 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -2304,7 +2304,7 @@ namespace OUString DbDateField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const Reference< ::com::sun::star::util::XNumberFormatter >& /*xFormatter*/, Color** /*ppColor*/) { - return lcl_setFormattedDate_nothrow( *dynamic_cast< DateField* >( m_pPainter ), _rxField ); + return lcl_setFormattedDate_nothrow(dynamic_cast<DateField&>(*m_pPainter), _rxField); } |