summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-17 17:21:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-18 08:49:37 +0200
commiteea6d3951b66f85df60574e10f19a81bfd7529cc (patch)
tree0509297cd8fb5e59750f45099e04bbea7be968cc /registry
parent0501869949b65b27303a41fd235a6ec32a4c90a7 (diff)
loplugin:unnecessaryparen
look for statements like return (function()); Change-Id: I906cf2183489f87225b99b987caca67e39b26cc3 Reviewed-on: https://gerrit.libreoffice.org/41260 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r--registry/source/keyimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx
index eb2172d1c512..944226234a5a 100644
--- a/registry/source/keyimpl.cxx
+++ b/registry/source/keyimpl.cxx
@@ -201,7 +201,7 @@ RegError ORegKey::getKeyNames(const OUString& keyName,
RegError ORegKey::closeKey(RegKeyHandle hKey)
{
- return (m_pRegistry->closeKey(hKey));
+ return m_pRegistry->closeKey(hKey);
}
@@ -209,7 +209,7 @@ RegError ORegKey::closeKey(RegKeyHandle hKey)
RegError ORegKey::deleteKey(const OUString& keyName)
{
- return (m_pRegistry->deleteKey(this, keyName));
+ return m_pRegistry->deleteKey(this, keyName);
}