summaryrefslogtreecommitdiff
path: root/svl/source/misc/inethist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/inethist.cxx')
-rw-r--r--svl/source/misc/inethist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx
index 3c302e43447b..03f886f39da4 100644
--- a/svl/source/misc/inethist.cxx
+++ b/svl/source/misc/inethist.cxx
@@ -242,7 +242,7 @@ void INetURLHistory_Impl::putUrl (const OUString &rUrl)
sal_uInt16 nLRU = m_pList[m_aHead.m_nNext].m_nPrev;
sal_uInt16 nSI = find (m_pList[nLRU].m_nHash);
- if (!(nLRU == m_pHash[nSI].m_nLru))
+ if (nLRU != m_pHash[nSI].m_nLru)
{
// Update LRU chain.
nLRU = m_pHash[nSI].m_nLru;