diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-20 10:30:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-20 10:30:44 +0100 |
commit | 7c89e643b1152383ffa1a51e4a3b911ac1d1d36e (patch) | |
tree | 8694fcf7d05400b0e78bb33e57079eef257bd8dd /forms/source/richtext/specialdispatchers.cxx | |
parent | Some cppcheck cleaning (diff) | |
download | core-7c89e643b1152383ffa1a51e4a3b911ac1d1d36e.tar.gz core-7c89e643b1152383ffa1a51e4a3b911ac1d1d36e.zip |
Replace suitable equalsAscii calls with equalsAsciiL.
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
Diffstat (limited to 'forms/source/richtext/specialdispatchers.cxx')
-rw-r--r-- | forms/source/richtext/specialdispatchers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx index 1cbd2520ee3b..aeb4427b5aaf 100644 --- a/forms/source/richtext/specialdispatchers.cxx +++ b/forms/source/richtext/specialdispatchers.cxx @@ -176,7 +176,7 @@ namespace frm const PropertyValue* pLookupEnd = _rArguments.getConstArray() + _rArguments.getLength(); while ( pLookup != pLookupEnd ) { - if ( pLookup->Name.equalsAscii( "Enable" ) ) + if ( pLookup->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Enable" ) ) ) break; ++pLookup; } |