diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:12:36 +0100 |
commit | b7f0446d78923c46ab604ccaf48970a6b405ba5e (patch) | |
tree | 1ec06811d63d2ef0d10c54cd63cdf94dd90a6df0 /unotools/source/config/searchopt.cxx | |
parent | d9384ef6e42419ecb77590c785eadf69e3d43428 (diff) |
More loplugin:cstylecast: unotools
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: I40a3ff5a436766f8d16f154eff2726b4873a0eb1
Diffstat (limited to 'unotools/source/config/searchopt.cxx')
-rw-r--r-- | unotools/source/config/searchopt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx index b4d570496ffb..878f46d1a1db 100644 --- a/unotools/source/config/searchopt.cxx +++ b/unotools/source/config/searchopt.cxx @@ -97,7 +97,7 @@ void SvtSearchOptions_Impl::SetFlag( sal_uInt16 nOffset, bool bVal ) { DBG_ASSERT( nOffset <= MAX_FLAGS_OFFSET, "offset out of range"); sal_Int32 nOldFlags = nFlags; - sal_Int32 nMask = ((sal_Int32) 1) << nOffset; + sal_Int32 nMask = (sal_Int32(1)) << nOffset; if (bVal) nFlags |= nMask; else |