summaryrefslogtreecommitdiff
path: root/cppuhelper/source/propshlp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:26:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:26:29 +0100
commit71a6caf49b1805a5a9ff29fe8f928a4551aa616b (patch)
treedd2c8bf96c26d537ffedb32c5bc5f913192234d6 /cppuhelper/source/propshlp.cxx
parentf6e256c4825a6d7c9d7125a4100c10f8c4de750a (diff)
More loplugin:cstylecast: cppuhelper
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: I3966d302241a52014aaad41f72924a2095ea6621
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r--cppuhelper/source/propshlp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index eea33d133aaf..6d1549d68e96 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -1118,7 +1118,7 @@ sal_Int32 OPropertyArrayHelper::fillHandles( sal_Int32 * pHandles, const Sequenc
for( sal_Int32 i = 0; i < nReqLen; i++ )
{
// Calculate logarithm
- sal_Int32 n = (sal_Int32)(pEnd - pCur);
+ sal_Int32 n = static_cast<sal_Int32>(pEnd - pCur);
sal_Int32 nLog = 0;
while( n )
{