diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:20 +0100 |
commit | 4c0c23af21db0b72541674c2352df04f48774e81 (patch) | |
tree | fe5697fbc7f793de73531e50711c5b39d9825923 /forms/source/component | |
parent | 8f2cf65ec9a450441b92ed1f638eda26231a9be7 (diff) |
Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/Filter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index d2bc3239260b..706e17e0afd5 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -580,13 +580,13 @@ namespace frm { Any aValue; if ( aText == "1" - || aText.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("TRUE")) - || aText.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("IS TRUE")) + || aText.equalsIgnoreAsciiCase("TRUE") + || aText.equalsIgnoreAsciiCase("IS TRUE") ) { aValue <<= (sal_Int32)STATE_CHECK; } - else if ( aText == "0" || aText.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("FALSE")) ) + else if ( aText == "0" || aText.equalsIgnoreAsciiCase("FALSE") ) { aValue <<= (sal_Int32)STATE_NOCHECK; } |