diff options
Diffstat (limited to 'svl/source/misc/inethist.cxx')
-rw-r--r-- | svl/source/misc/inethist.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx index c4d5daeea374..7c05b6ef423e 100644 --- a/svl/source/misc/inethist.cxx +++ b/svl/source/misc/inethist.cxx @@ -276,16 +276,8 @@ bool INetURLHistory_Impl::queryUrl (const OUString &rUrl) const { sal_uInt32 h = crc32 (rUrl); sal_uInt16 k = find (h); - if ((k < capacity()) && (m_pHash[k] == h)) - { - // Cache hit. - return true; - } - else - { - // Cache miss. - return false; - } + // true if cache hit + return (k < capacity()) && (m_pHash[k] == h); } /* |