From dead6b3a944d0100ef833bb5d7f92bcd2563ada4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 12 Jan 2018 20:14:44 +0100 Subject: More loplugin:cstylecast: svl auto-rewrite with "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I71e3b2c9b4c68183288f43999d242e95ae13584d --- svl/source/config/ctloptions.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svl/source/config') 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(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(m_eCTLTextNumerals); ++nRealCount; } } -- cgit