diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:14:44 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:14:44 +0100 |
commit | dead6b3a944d0100ef833bb5d7f92bcd2563ada4 (patch) | |
tree | 3353ff138015cf48c38db8abaa9bc3478271b2cd /svl/source/config | |
parent | 43b137e1404acbd16649813e9d493ba97b8f509c (diff) |
More loplugin:cstylecast: svl
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: I71e3b2c9b4c68183288f43999d242e95ae13584d
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/ctloptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/config/ctloptions.cxx b/svl/source/config/ctloptions.cxx index c4fffc504560..63ecb6d656db 100644 --- a/svl/source/config/ctloptions.cxx +++ b/svl/source/config/ctloptions.cxx @@ -181,7 +181,7 @@ void SvtCTLOptions_Impl::ImplCommit() if (!m_bROCTLCursorMovement) { pNames[nRealCount] = pOrgNames[nProp]; - pValues[nRealCount] <<= (sal_Int32)m_eCTLCursorMovement; + pValues[nRealCount] <<= static_cast<sal_Int32>(m_eCTLCursorMovement); ++nRealCount; } } @@ -192,7 +192,7 @@ void SvtCTLOptions_Impl::ImplCommit() if (!m_bROCTLTextNumerals) { pNames[nRealCount] = pOrgNames[nProp]; - pValues[nRealCount] <<= (sal_Int32)m_eCTLTextNumerals; + pValues[nRealCount] <<= static_cast<sal_Int32>(m_eCTLTextNumerals); ++nRealCount; } } |