summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
index 0f10513d5b34..0ec097c10c32 100644
--- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
+++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx
@@ -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");
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx
index 905c86cf0f4d..85857003761d 100644
--- a/xmlhelp/source/cxxhelp/provider/databases.hxx
+++ b/xmlhelp/source/cxxhelp/provider/databases.hxx
@@ -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);
}
};