diff options
author | Sameer Deshmukh <sameer.deshmukh93@gmail.com> | 2013-04-21 17:52:54 +0530 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-04-22 07:26:24 +0000 |
commit | 560e4fd02f8a4a3e26b3810b12d02a2d2e78593f (patch) | |
tree | 381e63343fd20b05a4d931fb79cf98096fc8ef40 /xmlhelp | |
parent | e7bfe847114d7fd95e6820db01ca9ee876468fbe (diff) |
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>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.hxx | 4 |
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); } }; |