diff options
Diffstat (limited to 'include/registry/registry.hxx')
-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) |