summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-29 12:40:47 +0200
committerNoel Grandin <noel@peralex.com>2015-09-29 15:08:43 +0200
commit34180700b2686c97cdce0b52ca9578a41a153035 (patch)
tree073f3753e4483f30efa3c7c769f23971e6a046d5 /registry
parente710170d906fcb248a5e4ff5a3a90cbf0e20003d (diff)
loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
Diffstat (limited to 'registry')
-rw-r--r--registry/inc/regapi.hxx8
-rw-r--r--registry/source/registry.cxx9
2 files changed, 0 insertions, 17 deletions
diff --git a/registry/inc/regapi.hxx b/registry/inc/regapi.hxx
index e784838b8c69..93fd05a072fa 100644
--- a/registry/inc/regapi.hxx
+++ b/registry/inc/regapi.hxx
@@ -379,14 +379,6 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
-/** This function returns the access mode of the registry.
-
- @param hReg identifies a currently open registry.
- @return TRUE if accessmode is read only else FALSE.
-*/
-REG_DLLPUBLIC bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hReg);
-
-
/** This function opens a registry with the specified name.
@param registryName points to a null terminated string specifying the name of the registry.
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx
index 0b2ec2a0696c..8ef134e5318e 100644
--- a/registry/source/registry.cxx
+++ b/registry/source/registry.cxx
@@ -539,15 +539,6 @@ RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName)
-// reg_isReadOnly
-
-bool REGISTRY_CALLTYPE reg_isReadOnly(RegHandle hRegistry)
-{
- return isReadOnly(hRegistry);
-}
-
-
-
// reg_openRegistry
RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName,