fdo#62096 - Changed a few compareTo's to '=='

Change-Id: I0a0ba87ec517e5dd776ab45b232dd7f227451466
Reviewed-on: https://gerrit.libreoffice.org/3523
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
This commit is contained in:
Sameer Deshmukh
2013-04-21 17:52:54 +05:30
committed by Fridrich Strba
parent e7bfe84711
commit 560e4fd02f
2 changed files with 3 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ extern "C" int NPFR_propfind_iter( void* userdata,
if ( !aValue.isEmpty() )
{
aValue = stripDavNamespace( aValue ).toAsciiLowerCase();
if ( aValue.compareTo( "<collection" ) == 0 )
if ( aValue == "<collection" )
{
thePropertyValue.Value
<<= OUString("collection");

View File

@@ -156,7 +156,7 @@ namespace chelp {
{
bool operator()( const OUString& rKey1, const OUString& rKey2 ) const
{
return rKey1.compareTo( rKey2 ) == 0;
return (rKey1 == rKey2);
}
};
@@ -351,7 +351,7 @@ namespace chelp {
{
bool operator()( const OString& rKey1, const OString& rKey2 ) const
{
return rKey1.compareTo( rKey2 ) == 0;
return (rKey1 == rKey2);
}
};