summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/databases.hxx4
1 files changed, 2 insertions, 2 deletions
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);
}
};