summaryrefslogtreecommitdiff
path: root/svl/source/config
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:14:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:14:44 +0100
commitdead6b3a944d0100ef833bb5d7f92bcd2563ada4 (patch)
tree3353ff138015cf48c38db8abaa9bc3478271b2cd /svl/source/config
parent43b137e1404acbd16649813e9d493ba97b8f509c (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.cxx4
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;
}
}