diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-01-09 06:51:17 +1100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-06-21 20:22:34 +0200 |
commit | e02a7a55c23d23dd7afa2627a7e10c70e1cba001 (patch) | |
tree | 323d2be964a57cd81c61dd07eae443277f67d476 /registry/source/registry.cxx | |
parent | 1dbfc4fdc9710e670e25bff5636e0336efee8a18 (diff) |
registry: remove unnecessary comments
Change-Id: I03b49dcf4bb668b0e4967eb4e88639a5a7e36c8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128174
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'registry/source/registry.cxx')
-rw-r--r-- | registry/source/registry.cxx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index a58a79c8bb76..c498f113c7c6 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -30,9 +30,6 @@ extern "C" { - -// acquire - static void REGISTRY_CALLTYPE acquire(RegHandle hReg) { ORegistry* pReg = static_cast<ORegistry*>(hReg); @@ -41,9 +38,6 @@ static void REGISTRY_CALLTYPE acquire(RegHandle hReg) pReg->acquire(); } - -// release - static void REGISTRY_CALLTYPE release(RegHandle hReg) { ORegistry* pReg = static_cast<ORegistry*>(hReg); @@ -55,9 +49,6 @@ static void REGISTRY_CALLTYPE release(RegHandle hReg) } } - -// getName - static RegError REGISTRY_CALLTYPE getName(RegHandle hReg, rtl_uString** pName) { if (hReg) @@ -78,9 +69,6 @@ static RegError REGISTRY_CALLTYPE getName(RegHandle hReg, rtl_uString** pName) return RegError::INVALID_REGISTRY; } - -// isReadOnly - static sal_Bool REGISTRY_CALLTYPE isReadOnly(RegHandle hReg) { if (hReg) @@ -89,9 +77,6 @@ static sal_Bool REGISTRY_CALLTYPE isReadOnly(RegHandle hReg) return false; } - -// createRegistry - static RegError REGISTRY_CALLTYPE createRegistry(rtl_uString* registryName, RegHandle* phRegistry) { @@ -110,9 +95,6 @@ static RegError REGISTRY_CALLTYPE createRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// openRootKey - static RegError REGISTRY_CALLTYPE openRootKey(RegHandle hReg, RegKeyHandle* phRootKey) { @@ -134,9 +116,6 @@ static RegError REGISTRY_CALLTYPE openRootKey(RegHandle hReg, return RegError::NO_ERROR; } - -// openRegistry - static RegError REGISTRY_CALLTYPE openRegistry(rtl_uString* registryName, RegHandle* phRegistry, RegAccessMode accessMode) @@ -157,9 +136,6 @@ static RegError REGISTRY_CALLTYPE openRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// closeRegistry - static RegError REGISTRY_CALLTYPE closeRegistry(RegHandle hReg) { if (hReg) @@ -184,9 +160,6 @@ static RegError REGISTRY_CALLTYPE closeRegistry(RegHandle hReg) } } - -// destroyRegistry - static RegError REGISTRY_CALLTYPE destroyRegistry(RegHandle hReg, rtl_uString* registryName) { @@ -235,9 +208,6 @@ static RegError REGISTRY_CALLTYPE dumpRegistry(RegHandle hReg, return pReg->dumpRegistry(hKey); } - -// initRegistry_Api - Registry_Api* REGISTRY_CALLTYPE initRegistry_Api() { static Registry_Api aApi= {&acquire, @@ -278,18 +248,12 @@ Registry_Api* REGISTRY_CALLTYPE initRegistry_Api() } - -// reg_openRootKey - RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry, RegKeyHandle* phRootKey) { return openRootKey(hRegistry, phRootKey); } - -// reg_openRegistry - RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, RegHandle* phRegistry) { @@ -308,9 +272,6 @@ RegError REGISTRY_CALLTYPE reg_openRegistry(rtl_uString* registryName, return RegError::NO_ERROR; } - -// reg_closeRegistry - RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry) { if (hRegistry) @@ -324,9 +285,6 @@ RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry) } } - -// reg_dumpRegistry - RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey) { ORegKey *pKey; |