diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-19 16:31:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-21 00:22:43 +0100 |
commit | dfc2e9be0948ca72f858197392921f5bb27f605b (patch) | |
tree | aef79308db2505366aa3de433861e3d59adff4f2 /sc/qa | |
parent | 2dadf90aa7bb03d895abc05ec93ca116eb9bacbd (diff) |
ofz#7012 Integer-overflow
and fix negative rounding code, which results in changing tet
of from -996 to -1002 which is closer to the original -1000
Change-Id: Ie992e61bf4d14d0cd4194e773479feba96b6d68e
Reviewed-on: https://gerrit.libreoffice.org/51576
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 26b925d14a16..fcef9a057c68 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -3415,8 +3415,8 @@ void ScExportTest::testSheetCondensedCharacterSpaceXLSX() OUString CondensedCharSpace = getXPath(pDoc, "/xdr:wsDr[1]/xdr:twoCellAnchor[1]/xdr:sp[1]/xdr:txBody[1]/a:p[1]/a:r[1]/a:rPr[1]","spc"); - // make sure that the CondensedCharSpace is -996. - CPPUNIT_ASSERT_EQUAL(OUString("-996"), CondensedCharSpace); + // make sure that the CondensedCharSpace is -1002. + CPPUNIT_ASSERT_EQUAL(OUString("-1002"), CondensedCharSpace); xDocSh->DoClose(); } |