summaryrefslogtreecommitdiffstats
path: root/include/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 13:08:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-27 10:44:25 +0100
commit2e5508a17660401e1b4b489dbc9f70b978745b75 (patch)
tree881afcf9d8b9f0a653df0c94a8a2deefdf85670e /include/registry
parenttdf#113831 Show number of search results (diff)
downloadcore-2e5508a17660401e1b4b489dbc9f70b978745b75.tar.gz
core-2e5508a17660401e1b4b489dbc9f70b978745b75.zip
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3 Reviewed-on: https://gerrit.libreoffice.org/45218 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index c36a57f9986a..41e86c07c08d 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -695,7 +695,7 @@ inline bool RegistryKey::isValid() const
inline bool RegistryKey::isReadOnly() const
{
if (m_registry.isValid())
- return (m_registry.m_pApi)->isKeyReadOnly(m_hImpl);
+ return m_registry.m_pApi->isKeyReadOnly(m_hImpl);
else
return false;
}