diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-28 08:39:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 06:23:00 +0000 |
commit | a45827b2308febc7369db27fb489a6d1389534e1 (patch) | |
tree | 0b697341738010da35bd0a6a6189ef6761e5db0a /include/registry | |
parent | 2387c2a46e15995686d28dccdfd455012072b4cf (diff) |
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/registry')
-rw-r--r-- | include/registry/registry.hxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index 15e7f620971c..e12e64e5f476 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -218,8 +218,6 @@ protected: @param length specifies the length of the array specified by phKeys. */ inline void setKeyHandles(Registry& registry, RegKeyHandle* phKeys, sal_uInt32 length); - /// close all subkeys - inline RegError closeKeyHandles(); /// stores the number of open subkeys, the number of elements. sal_uInt32 m_length; @@ -640,22 +638,6 @@ inline void RegistryKeyArray::setKeyHandles(Registry& registry, m_registry = registry; } -inline RegError RegistryKeyArray::closeKeyHandles() -{ - if (m_registry.isValid() && m_phKeys) - { - RegError ret; - ret = m_registry.m_pApi->closeSubKeys(m_phKeys, m_length); - m_registry = Registry(); - m_length = 0; - m_phKeys = NULL; - return ret; - } else - return RegError::INVALID_KEY; -} - - - inline RegistryKeyNames::RegistryKeyNames() : m_length(0) , m_pKeyNames(NULL) |