summaryrefslogtreecommitdiffstats
path: root/store/source/storcach.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 10:26:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-20 12:31:32 +0100
commit4f4486c61d3e437059a2ac77aae012489f5c7e25 (patch)
tree408c9a71e3a2d2c4a921ce3a376546ccadae4437 /store/source/storcach.cxx
parentWaE: -Werror=unused-function (diff)
downloadcore-4f4486c61d3e437059a2ac77aae012489f5c7e25.tar.gz
core-4f4486c61d3e437059a2ac77aae012489f5c7e25.zip
look for =() in loplugin:unnecessaryparen
Change-Id: I4f9b71ff7767e90987bb40358fc46ed5d1d571d0 Reviewed-on: https://gerrit.libreoffice.org/44944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store/source/storcach.cxx')
-rw-r--r--store/source/storcach.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx
index 11b401a6a8d2..2f74a872e9d0 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -379,7 +379,7 @@ storeError PageCache::removePageAt (sal_uInt32 nOffset)
if ((*ppEntry)->m_nOffset == nOffset)
{
// Existing entry.
- Entry * entry = (*ppEntry);
+ Entry * entry = *ppEntry;
// Dequeue and destroy entry.
(*ppEntry) = entry->m_pNext;