diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:23:58 +0100 |
commit | 1099ae1c16cd8323d877e894d8ce213ef8e1c349 (patch) | |
tree | f5eb610a9a27de258415a9ae1d14b2972c7a84cb /forms/source/component/Filter.cxx | |
parent | 11e93c64c33ed17e2286bf3be7a473df43425012 (diff) |
More loplugin:cstylecast: forms
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: I91065e9ff1c160e5becda1ffa033de7c1b48b7f3
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r-- | forms/source/component/Filter.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 4bca83480512..8cbdff0af0d0 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -577,14 +577,14 @@ namespace frm || aText.equalsIgnoreAsciiCase("IS TRUE") ) { - aValue <<= (sal_Int32)TRISTATE_TRUE; + aValue <<= sal_Int32(TRISTATE_TRUE); } else if ( aText == "0" || aText.equalsIgnoreAsciiCase("FALSE") ) { - aValue <<= (sal_Int32)TRISTATE_FALSE; + aValue <<= sal_Int32(TRISTATE_FALSE); } else - aValue <<= (sal_Int32)TRISTATE_INDET; + aValue <<= sal_Int32(TRISTATE_INDET); m_aText = aText; xVclWindow->setProperty( PROPERTY_STATE, aValue ); @@ -598,9 +598,9 @@ namespace frm OUString aRefText = ::comphelper::getString(css::uno::Reference< XPropertySet > (getModel(), UNO_QUERY)->getPropertyValue(PROPERTY_REFVALUE)); Any aValue; if (aText == aRefText) - aValue <<= (sal_Int32)TRISTATE_TRUE; + aValue <<= sal_Int32(TRISTATE_TRUE); else - aValue <<= (sal_Int32)TRISTATE_FALSE; + aValue <<= sal_Int32(TRISTATE_FALSE); m_aText = aText; xVclWindow->setProperty(PROPERTY_STATE, aValue); } |