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 /include/svl/srchitem.hxx | |
parent | More loplugin:cstylecast: svtools (diff) | |
download | core-dead6b3a944d0100ef833bb5d7f92bcd2563ada4.tar.gz core-dead6b3a944d0100ef833bb5d7f92bcd2563ada4.zip |
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 'include/svl/srchitem.hxx')
-rw-r--r-- | include/svl/srchitem.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx index 343433dd8808..a449f250ca39 100644 --- a/include/svl/srchitem.hxx +++ b/include/svl/srchitem.hxx @@ -262,7 +262,7 @@ bool SvxSearchItem::IsLEVRelaxed() const sal_uInt16 SvxSearchItem::GetLEVOther() const { - return (sal_Int16) m_aSearchOpt.changedChars; + return static_cast<sal_Int16>(m_aSearchOpt.changedChars); } void SvxSearchItem::SetLEVOther( sal_uInt16 nVal ) @@ -272,7 +272,7 @@ void SvxSearchItem::SetLEVOther( sal_uInt16 nVal ) sal_uInt16 SvxSearchItem::GetLEVShorter() const { - return (sal_Int16) m_aSearchOpt.insertedChars; + return static_cast<sal_Int16>(m_aSearchOpt.insertedChars); } void SvxSearchItem::SetLEVShorter( sal_uInt16 nVal ) @@ -282,7 +282,7 @@ void SvxSearchItem::SetLEVShorter( sal_uInt16 nVal ) sal_uInt16 SvxSearchItem::GetLEVLonger() const { - return (sal_Int16) m_aSearchOpt.deletedChars; + return static_cast<sal_Int16>(m_aSearchOpt.deletedChars); } void SvxSearchItem::SetLEVLonger( sal_uInt16 nVal ) |