diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-03 14:50:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:01 +0200 |
commit | 02cb0ba6b565597d6da23cbf211e959c448b3261 (patch) | |
tree | 78cbdd2d0133790bc0049868c486b821ccd8c48f /registry | |
parent | 665bad85827661678c49c34a04cb538673435416 (diff) |
loplugin:constantfunction: registry
Change-Id: I0556481aee672451221aa72a8a90d465f3670313
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/registry.cxx | 3 | ||||
-rw-r--r-- | registry/source/regkey.cxx | 29 | ||||
-rw-r--r-- | registry/source/regkey.hxx | 4 |
3 files changed, 0 insertions, 36 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index 961b1ac6b645..3862ce5623dd 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -436,10 +436,7 @@ Registry_Api* REGISTRY_CALLTYPE initRegistry_Api(void) &getStringListValue, &getUnicodeListValue, &freeValueList, - &createLink, - &deleteLink, &getKeyType, - &getLinkTarget, &getResolvedKeyName, &getKeyNames, &freeKeyNames}; diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx index 6e314e02a639..7792bf7fad9e 100644 --- a/registry/source/regkey.cxx +++ b/registry/source/regkey.cxx @@ -612,25 +612,6 @@ RegError REGISTRY_CALLTYPE freeValueList(RegValueType valueType, } -// createLink - -RegError REGISTRY_CALLTYPE createLink( - SAL_UNUSED_PARAMETER RegKeyHandle, SAL_UNUSED_PARAMETER rtl_uString*, - SAL_UNUSED_PARAMETER rtl_uString*) -{ - return REG_INVALID_LINK; // links are no longer supported -} - - -// deleteLink - -RegError REGISTRY_CALLTYPE deleteLink( - SAL_UNUSED_PARAMETER RegKeyHandle, SAL_UNUSED_PARAMETER rtl_uString*) -{ - return REG_INVALID_LINK; // links are no longer supported -} - - // getKeyType RegError REGISTRY_CALLTYPE getKeyType(RegKeyHandle hKey, @@ -648,16 +629,6 @@ RegError REGISTRY_CALLTYPE getKeyType(RegKeyHandle hKey, } -// getLinkTarget - -RegError REGISTRY_CALLTYPE getLinkTarget( - SAL_UNUSED_PARAMETER RegKeyHandle, SAL_UNUSED_PARAMETER rtl_uString*, - SAL_UNUSED_PARAMETER rtl_uString**) -{ - return REG_INVALID_LINK; // links are no longer supported -} - - // getName RegError REGISTRY_CALLTYPE getResolvedKeyName(RegKeyHandle hKey, diff --git a/registry/source/regkey.hxx b/registry/source/regkey.hxx index aa0bed9dfaca..7fa48d795c2c 100644 --- a/registry/source/regkey.hxx +++ b/registry/source/regkey.hxx @@ -56,11 +56,7 @@ RegError REGISTRY_CALLTYPE getStringListValue( RegError REGISTRY_CALLTYPE getUnicodeListValue( RegKeyHandle, rtl_uString*, sal_Unicode***, sal_uInt32*); RegError REGISTRY_CALLTYPE freeValueList(RegValueType, RegValue, sal_uInt32); -RegError REGISTRY_CALLTYPE createLink(RegKeyHandle, rtl_uString*, rtl_uString*); -RegError REGISTRY_CALLTYPE deleteLink(RegKeyHandle, rtl_uString*); RegError REGISTRY_CALLTYPE getKeyType(RegKeyHandle, rtl_uString*, RegKeyType*); -RegError REGISTRY_CALLTYPE getLinkTarget( - RegKeyHandle, rtl_uString*, rtl_uString**); RegError REGISTRY_CALLTYPE getResolvedKeyName( RegKeyHandle, rtl_uString*, sal_Bool, rtl_uString**); RegError REGISTRY_CALLTYPE getKeyNames( |