diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-08 13:58:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-08 16:24:26 +0000 |
commit | ad56f8de7b927cc32c2d67ffb13268c2a0b564c4 (patch) | |
tree | 58861cf4be3fae7030e60d5bb624f0a4881b6a08 /sc/qa | |
parent | d9ae37a3cc9b1157bf431fee59748716f83f37ec (diff) |
coverity#1257114 Result is not floating-point
Change-Id: I420fa77d52ca72a4c4609b4610572b8735911b4b
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index d2c66bbbe2b0..b35bc1186ff3 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -4504,7 +4504,7 @@ void Test::testAutoFillSimple() if (nRow % 2 == 0) { double nVal = m_pDoc->GetValue(0, nRow, 0); - CPPUNIT_ASSERT_EQUAL(double((nRow+2)/2), nVal); + CPPUNIT_ASSERT_EQUAL((nRow+2)/2.0, nVal); } else { |