diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:27:27 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:27:27 +0100 |
commit | f8558f844674c7ba541699708e95f509026c9407 (patch) | |
tree | b402baade1bf3b1bfe1cf89b3cacb275c020e44b /connectivity/source/commontools/DateConversion.cxx | |
parent | 4a7fb6abcd8999d64acefb598dfe85fff042d533 (diff) |
More loplugin:cstylecast: connectivity
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: Idbefb16acae20ab137497e78c9bc5dc5634c07fe
Diffstat (limited to 'connectivity/source/commontools/DateConversion.cxx')
-rw-r--r-- | connectivity/source/commontools/DateConversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx index 39acab5c1092..3ba09ee62430 100644 --- a/connectivity/source/commontools/DateConversion.cxx +++ b/connectivity/source/commontools/DateConversion.cxx @@ -80,7 +80,7 @@ OUString DBTypeConversion::toSQLString(sal_Int32 eType, const Any& _rVal, { OUString aTemp; _rxTypeConverter->convertToSimpleType(_rVal, TypeClass_STRING) >>= aTemp; - sal_Int32 nIndex = (sal_Int32)-1; + sal_Int32 nIndex = sal_Int32(-1); const OUString sQuot("\'"); do { |