summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-18 10:39:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-18 12:50:09 +0000
commita7f6efc68ba97db98ebab9ebc473bffb8ded757f (patch)
treebad37ce9ee1c9f61f1c8541a9689ecdea8c84c08 /registry
parenta08745551370a052bfb6b91335956ababf435791 (diff)
loplugin: unused return values
Change-Id: I9c61a46c57894bc63a57740206c0bcb4a16553af Reviewed-on: https://gerrit.libreoffice.org/21571 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'registry')
-rw-r--r--registry/source/keyimpl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/keyimpl.hxx b/registry/source/keyimpl.hxx
index e7cb81071ccc..2b3880e9e70e 100644
--- a/registry/source/keyimpl.hxx
+++ b/registry/source/keyimpl.hxx
@@ -31,8 +31,8 @@ public:
ORegKey(const OUString& keyName, ORegistry* pReg);
~ORegKey();
- sal_uInt32 acquire()
- { return ++m_refCount; }
+ void acquire()
+ { ++m_refCount; }
sal_uInt32 release()
{ return --m_refCount; }