diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:25:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:25:56 +0100 |
commit | d597bb77b271a0e9f2c3f4789517435f6b63f170 (patch) | |
tree | cecc96dcd43d96a3a56b9ec28d55a2f844af0476 /dbaccess/source/filter/xml | |
parent | 029149e9b7aa8ad66dca2972e26385c831153c80 (diff) |
More loplugin:cstylecast: dbaccess
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: I96df8923f7791288bbd350d75582a9220006ece6
Diffstat (limited to 'dbaccess/source/filter/xml')
-rw-r--r-- | dbaccess/source/filter/xml/xmlDataSourceSetting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx index 8be9d3245d8f..354af2a76cc1 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx +++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx @@ -195,7 +195,7 @@ Any OXMLDataSourceSetting::convertString(const css::uno::Type& _rExpectedType, c "OXMLDataSourceSetting::convertString: could not convert \"" << _rReadCharacters << "\" into an integer!"); if (TypeClass_SHORT == _rExpectedType.getTypeClass()) - aReturn <<= (sal_Int16)nValue; + aReturn <<= static_cast<sal_Int16>(nValue); else aReturn <<= nValue; break; |