diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-08 12:43:52 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-09 08:41:11 +0200 |
commit | 1f34524746a0849ee2c76241d7ac6934110009fe (patch) | |
tree | 5757a12140ae39bfd52f7fb434760ad428724663 /include/registry/registry.hxx | |
parent | 1bdbe0b475464402716c1c304d28376f1c37d820 (diff) |
remove reg keytype constants and related code
since we no longer support the RG_LINKTYPE stuff
Change-Id: If388ecfa0c475471b99b26155ad554ec702ca734
Diffstat (limited to 'include/registry/registry.hxx')
-rw-r--r-- | include/registry/registry.hxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx index 7f023a0504a9..f290d9a96571 100644 --- a/include/registry/registry.hxx +++ b/include/registry/registry.hxx @@ -67,7 +67,6 @@ struct Registry_Api RegError (REGISTRY_CALLTYPE *getStringListValue) (RegKeyHandle, rtl_uString*, sal_Char***, sal_uInt32*); RegError (REGISTRY_CALLTYPE *getUnicodeListValue)(RegKeyHandle, rtl_uString*, sal_Unicode***, sal_uInt32*); RegError (REGISTRY_CALLTYPE *freeValueList) (RegValueType, RegValue, sal_uInt32); - RegError (REGISTRY_CALLTYPE *getKeyType) (RegKeyHandle, rtl_uString*, RegKeyType*); RegError (REGISTRY_CALLTYPE *getResolvedKeyName) (RegKeyHandle, rtl_uString*, sal_Bool, rtl_uString**); RegError (REGISTRY_CALLTYPE *getKeyNames) (RegKeyHandle, rtl_uString*, rtl_uString***, sal_uInt32*); RegError (REGISTRY_CALLTYPE *freeKeyNames) (rtl_uString**, sal_uInt32); @@ -604,15 +603,6 @@ public: */ inline RegError deleteLink(const rtl::OUString& linkName); - /** returns the type of the specified key. - - @param name specifies the name of the key or link. - @param pKeyType returns the type of the key (always RG_KEYTYPE). - @return REG_NO_ERROR if succeeds else an error code. - */ - inline RegError getKeyType(const rtl::OUString& name, - RegKeyType* pKeyType) const; - /** used to return the target of a link. @deprecated Links are no longer supported. @@ -1099,15 +1089,6 @@ inline RegError RegistryKey::deleteLink(const rtl::OUString& ) return REG_INVALID_KEY; } -inline RegError RegistryKey::getKeyType(const rtl::OUString& keyName, - RegKeyType* pKeyType) const - { - if (m_registry.isValid()) - return m_registry.m_pApi->getKeyType(m_hImpl, keyName.pData, pKeyType); - else - return REG_INVALID_KEY; - } - inline RegError RegistryKey::getLinkTarget(const rtl::OUString& , rtl::OUString& ) const { |