summaryrefslogtreecommitdiff
path: root/include/oox/export/utils.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/export/utils.hxx')
-rw-r--r--include/oox/export/utils.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index e75a3f83a120..e28b01c1d95d 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -63,7 +63,7 @@ static constexpr sal_Int64 TwipsToEMU( sal_Int32 nTwips )
template <typename T>
OString write1000thOfAPercent(T number)
{
- return OString::number( number * 1000 );
+ return OString::number( lround(number * 1000.0) );
}
namespace oox { namespace drawingml {