diff options
author | Eike Rathke <erack@redhat.com> | 2016-12-06 21:48:38 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-12-06 21:51:03 +0100 |
commit | ed4da005b076b5b1ea96dcc4b8caa994709ee733 (patch) | |
tree | 3d73f708d421eb023b468fe7e9e6657aee2d66dc | |
parent | 4a4c4d3768eab66c14e9e444e33bca0acb60981e (diff) |
Revert "try a volatile"
This reverts commit 8a460cfa1b1ce01c7a479ce2e7f21a92a2c50de3.
Turns out the cause is something completely different..
-rw-r--r-- | sc/source/filter/excel/xetable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xetable.cxx b/sc/source/filter/excel/xetable.cxx index 108f7f26128f..8d3bcfe1756a 100644 --- a/sc/source/filter/excel/xetable.cxx +++ b/sc/source/filter/excel/xetable.cxx @@ -1696,7 +1696,7 @@ void XclExpColinfo::SaveXml( XclExpXmlStream& rStrm ) // something optimized away or into.. yes that was significant in a // Linux-rpm_deb-x86_71-TDF tinderbox build that oddly produced 24.23 // instead of 24 in a test case but only for 5-2 ... - volatile sal_Int32 nTruncatedInt = static_cast<sal_Int32>(std::trunc( nExcelColumnWidth * 100.0 + 0.5 )); + const sal_Int32 nTruncatedInt = static_cast<sal_Int32>(std::trunc( nExcelColumnWidth * 100.0 + 0.5 )); const double nTruncatedExcelColumnWidth = static_cast<double>(nTruncatedInt) / 100.0; rStrm.GetCurrentStream()->singleElement( XML_col, |