summaryrefslogtreecommitdiff
path: root/include/oox/export
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:19:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:19:10 +0100
commit99e118af6a7e296b3d6dcb812237f27a344c601a (patch)
tree0d063d0691f462d7eb32d74a30b09f7821a09108 /include/oox/export
parentd1a510c9bde5eb9ca8ec1aa3e81782b0615fc95b (diff)
More loplugin:cstylecast: oox
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I8fd61e3220a4b9e08d4f97acde28600f31d448ca
Diffstat (limited to 'include/oox/export')
-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 74e78a37da33..fbe4c806dd70 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -63,7 +63,7 @@ static constexpr const char* ToPsz10(bool b)
static constexpr sal_Int64 PPTtoEMU( sal_Int32 nPPT )
{
- return (sal_Int64)( (double)nPPT * 1587.5 );
+ return static_cast<sal_Int64>( static_cast<double>(nPPT) * 1587.5 );
}
static constexpr sal_Int64 TwipsToEMU( sal_Int32 nTwips )