diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-26 22:20:56 +1000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-27 08:51:23 +0200 |
commit | 56824276de139cb5ed8b5f6d115724712a8ca4ef (patch) | |
tree | 5fd304ea65c52d070b78a4759fb840b5427779a1 /registry | |
parent | f347ec8f6fa7143ad98eac96051b6f4b56e71847 (diff) |
registry: remove comment cruft from regimpl.cxx
Change-Id: Ic728b6d975cfaf59c5d28c5587c488a245b4c961
Reviewed-on: https://gerrit.libreoffice.org/38068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.cxx | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index a9ee6289d844..21a15d4c9f69 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -421,9 +421,6 @@ void dumpType(typereg::Reader const & reader, OString const & indent) { } - -// ORegistry() - ORegistry::ORegistry() : m_refCount(1) , m_readOnly(false) @@ -432,9 +429,6 @@ ORegistry::ORegistry() { } - -// ~ORegistry() - ORegistry::~ORegistry() { ORegKey* pRootKey = m_openKeyTable[ROOT]; @@ -445,9 +439,6 @@ ORegistry::~ORegistry() m_file.close(); } - -// initRegistry - RegError ORegistry::initRegistry(const OUString& regName, RegAccessMode accessMode, bool bCreate) { RegError eRet = RegError::INVALID_REGISTRY; @@ -511,9 +502,6 @@ RegError ORegistry::initRegistry(const OUString& regName, RegAccessMode accessMo return eRet; } - -// closeRegistry - RegError ORegistry::closeRegistry() { REG_GUARD(m_mutex); @@ -530,9 +518,6 @@ RegError ORegistry::closeRegistry() } } - -// destroyRegistry - RegError ORegistry::destroyRegistry(const OUString& regName) { REG_GUARD(m_mutex); @@ -592,9 +577,6 @@ RegError ORegistry::destroyRegistry(const OUString& regName) return RegError::NO_ERROR; } - -// acquireKey - RegError ORegistry::acquireKey (RegKeyHandle hKey) { ORegKey* pKey = static_cast< ORegKey* >(hKey); @@ -607,9 +589,6 @@ RegError ORegistry::acquireKey (RegKeyHandle hKey) return RegError::NO_ERROR; } - -// releaseKey - RegError ORegistry::releaseKey (RegKeyHandle hKey) { ORegKey* pKey = static_cast< ORegKey* >(hKey); @@ -625,9 +604,6 @@ RegError ORegistry::releaseKey (RegKeyHandle hKey) return RegError::NO_ERROR; } - -// createKey - RegError ORegistry::createKey(RegKeyHandle hKey, const OUString& keyName, RegKeyHandle* phNewKey) { @@ -685,9 +661,6 @@ RegError ORegistry::createKey(RegKeyHandle hKey, const OUString& keyName, return RegError::NO_ERROR; } - -// openKey - RegError ORegistry::openKey(RegKeyHandle hKey, const OUString& keyName, RegKeyHandle* phOpenKey) { @@ -733,9 +706,6 @@ RegError ORegistry::openKey(RegKeyHandle hKey, const OUString& keyName, return RegError::NO_ERROR; } - -// closeKey - RegError ORegistry::closeKey(RegKeyHandle hKey) { ORegKey* pKey = static_cast< ORegKey* >(hKey); @@ -766,9 +736,6 @@ RegError ORegistry::closeKey(RegKeyHandle hKey) return releaseKey(pKey); } - -// deleteKey - RegError ORegistry::deleteKey(RegKeyHandle hKey, const OUString& keyName) { ORegKey* pKey = static_cast< ORegKey* >(hKey); @@ -848,9 +815,6 @@ RegError ORegistry::eraseKey(ORegKey* pKey, const OUString& keyName) return pKey->closeKey(pOldKey); } - -// deleteSubKeysAndValues - RegError ORegistry::deleteSubkeysAndValues(ORegKey* pKey) { OStoreDirectory::iterator iter; @@ -888,9 +852,6 @@ RegError ORegistry::deleteSubkeysAndValues(ORegKey* pKey) return RegError::NO_ERROR; } - -// loadKey - RegError ORegistry::loadKey(RegKeyHandle hKey, const OUString& regFileName, bool bWarnings, bool bReport) { @@ -934,9 +895,6 @@ RegError ORegistry::loadKey(RegKeyHandle hKey, const OUString& regFileName, return _ret; } - -// loadAndSaveValue() - RegError ORegistry::loadAndSaveValue(ORegKey* pTargetKey, ORegKey* pSourceKey, const OUString& valueName, @@ -1038,7 +996,6 @@ RegError ORegistry::loadAndSaveValue(ORegKey* pTargetKey, } } - // write if (rValue.create(rTargetFile, sTargetPath, valueName, storeAccessMode::Create)) { rtl_freeMemory(pBuffer); @@ -1061,9 +1018,6 @@ RegError ORegistry::loadAndSaveValue(ORegKey* pTargetKey, return _ret; } - -// checkblop() - RegError ORegistry::checkBlop(OStoreStream& rValue, const OUString& sTargetPath, sal_uInt32 srcValueSize, @@ -1190,9 +1144,6 @@ static sal_uInt32 checkTypeReaders(RegistryTypeReader& reader1, return count; } - -// mergeModuleValue() - RegError ORegistry::mergeModuleValue(OStoreStream& rTargetValue, RegistryTypeReader& reader, RegistryTypeReader& reader2) @@ -1263,9 +1214,6 @@ RegError ORegistry::mergeModuleValue(OStoreStream& rTargetValue, return RegError::NO_ERROR; } - -// loadAndSaveKeys() - RegError ORegistry::loadAndSaveKeys(ORegKey* pTargetKey, ORegKey* pSourceKey, const OUString& keyName, @@ -1332,18 +1280,12 @@ RegError ORegistry::loadAndSaveKeys(ORegKey* pTargetKey, return _ret; } - -// getRootKey() - ORegKey* ORegistry::getRootKey() { m_openKeyTable[ROOT]->acquire(); return m_openKeyTable[ROOT]; } - -// dumpRegistry() - RegError ORegistry::dumpRegistry(RegKeyHandle hKey) const { ORegKey *pKey = static_cast<ORegKey*>(hKey); @@ -1380,9 +1322,6 @@ RegError ORegistry::dumpRegistry(RegKeyHandle hKey) const return RegError::NO_ERROR; } - -// dumpValue() - RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_Int16 nSpc) const { OStoreStream rValue; @@ -1617,9 +1556,6 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ return RegError::NO_ERROR; } - -// dumpKey() - RegError ORegistry::dumpKey(const OUString& sPath, const OUString& sName, sal_Int16 nSpace) const { OStoreDirectory rStoreDir; |