diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:09:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:09:29 +0100 |
commit | dec5264878903ee010e9a6296357750f6c69c844 (patch) | |
tree | e987833003c31730486c95e82b6cc97b960de1a2 /xmloff/source/style/MultiPropertySetHelper.cxx | |
parent | ab279d30de4188baa4b33688aaed96072f3b4818 (diff) |
More loplugin:cstylecast: xmloff
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: Ic872cef7bb9982305528ec3ce12a1871f055b752
Diffstat (limited to 'xmloff/source/style/MultiPropertySetHelper.cxx')
-rw-r--r-- | xmloff/source/style/MultiPropertySetHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/MultiPropertySetHelper.cxx b/xmloff/source/style/MultiPropertySetHelper.cxx index 67111bd62e97..4c5367fb3d9f 100644 --- a/xmloff/source/style/MultiPropertySetHelper.cxx +++ b/xmloff/source/style/MultiPropertySetHelper.cxx @@ -117,7 +117,7 @@ void MultiPropertySetHelper::getValues( // re-alloc aValues (if necessary) and fill with values from XPropertySet sal_Int16 nSupportedPropertiesCount = - (sal_Int16)aPropertySequence.getLength(); + static_cast<sal_Int16>(aPropertySequence.getLength()); if ( aValues.getLength() != nSupportedPropertiesCount ) aValues.realloc( nSupportedPropertiesCount ); Any* pMutableArray = aValues.getArray(); |