diff options
Diffstat (limited to 'registry/source/keyimpl.cxx')
-rw-r--r-- | registry/source/keyimpl.cxx | 54 |
1 files changed, 1 insertions, 53 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index 4412ca208487..8b9c6ce00de2 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: keyimpl.cxx,v $ - * $Revision: 1.9 $ + * $Revision: 1.9.10.1 $ * * This file is part of OpenOffice.org. * @@ -58,41 +58,6 @@ ORegKey::ORegKey(const OUString& keyName, ORegistry* pReg) } //********************************************************************* -// ORegKey() -// -ORegKey::ORegKey(const OUString& keyName, const OUString& linkName, - ORegistry* pReg) - : m_refCount(1) - , m_name(keyName) - , m_bDeleted(sal_False) - , m_pRegistry(pReg) -{ - if (linkName.getLength()) - { - m_link = linkName; - m_isLink = sal_True; - - setValue(OUString( RTL_CONSTASCII_USTRINGPARAM("LINK_TARGET") ), RG_VALUETYPE_UNICODE, - (RegValue*)linkName.pData->buffer, linkName.getLength()+1); - } else - { - m_isLink = sal_False; - } -} - -//********************************************************************* -// ORegKey() -// -ORegKey::ORegKey() - : m_refCount(1) - , m_bDeleted(sal_False) - , m_isLink(sal_False) - , m_pRegistry(NULL) -{ -} - - -//********************************************************************* // ~ORegKey() // ORegKey::~ORegKey() @@ -260,23 +225,6 @@ RegError ORegKey::getKeyNames(const OUString& keyName, //********************************************************************* -// closeSubKeys -// -RegError ORegKey::closeSubKeys(RegKeyHandle* phSubKeys, sal_uInt32 nSubKeys) -{ - RegError _ret = REG_NO_ERROR; - - for (sal_uInt32 i=0; i < nSubKeys; i++) - { - _ret = closeKey(phSubKeys[i]); - } - - rtl_freeMemory(phSubKeys); - return _ret; -} - - -//********************************************************************* // closeKey // RegError ORegKey::closeKey(RegKeyHandle hKey) |