Lines Matching refs:xRootKey
296 const Reference < XRegistryKey > & xRootKey, in searchImplForLink()
302 Reference < XRegistryKey > xKey = xRootKey->openKey( pool.slash_IMPLEMENTATIONS ); in searchImplForLink()
335 static OUString searchLinkTargetForImpl(const Reference < XRegistryKey >& xRootKey, in searchLinkTargetForImpl() argument
345 Reference < XRegistryKey > xKey = xRootKey->openKey( pool.slash_IMPLEMENTATIONS ); in searchLinkTargetForImpl()
493 Reference < XRegistryKey > xRootKey; in prepareUserLink() local
497 xRootKey = xDest->getRootKey(); in prepareUserLink()
499 if (xRootKey->getKeyType(linkName) == RegistryKeyType_LINK) in prepareUserLink()
501 OUString oldImplName(searchImplForLink(xRootKey, linkName, implName)); in prepareUserLink()
516 if (xRootKey->isValid()) in prepareUserLink()
518 ret = xRootKey->createLink(linkName, linkTarget); in prepareUserLink()
531 static void deletePathIfPossible(const Reference < XRegistryKey >& xRootKey, in deletePathIfPossible() argument
536 Sequence<OUString> keyNames(xRootKey->openKey(path)->getKeyNames()); in deletePathIfPossible()
539 xRootKey->openKey(path)->getValueType() == RegistryValueType_NOT_DEFINED) in deletePathIfPossible()
541 xRootKey->deleteKey(path); in deletePathIfPossible()
547 deletePathIfPossible(xRootKey, newPath); in deletePathIfPossible()
559 static void deleteUserLink(const Reference < XRegistryKey >& xRootKey, in deleteUserLink() argument
567 if (xRootKey->getKeyType(linkName) == RegistryKeyType_LINK) in deleteUserLink()
569 OUString tmpTarget = xRootKey->getLinkTarget(linkName); in deleteUserLink()
573 xRootKey->deleteLink(linkName); in deleteUserLink()
577 Reference < XRegistryKey > xOldKey = xRootKey->openKey( in deleteUserLink()
629 xRootKey->deleteKey(path); in deleteUserLink()
632 OUString oldTarget = searchLinkTargetForImpl(xRootKey, linkName, oldImpl); in deleteUserLink()
635 xRootKey->createLink(linkName, oldTarget); in deleteUserLink()
645 xRootKey->deleteKey(path); in deleteUserLink()
657 deletePathIfPossible(xRootKey, path); in deleteUserLink()
716 Reference < XRegistryKey > xRootKey = xDest->getRootKey(); in prepareUserKeys() local
719 createUniqueSubEntry(xRootKey->createKey(keyName), implName); in prepareUserKeys()
723 Reference< XRegistryKey > rKey = xRootKey->openKey(keyName); in prepareUserKeys()
727 xRootKey->deleteKey(keyName); in prepareUserKeys()
733 deletePathIfPossible(xRootKey, path); in prepareUserKeys()
1800 Reference < XRegistryKey > xRootKey( xDest->getRootKey() ); in doRevoke() local
1803 xRootKey->openKey( pool.slash_IMPLEMENTATIONS ); in doRevoke()
1809 xKey = xRootKey->openKey( pool.slash_SERVICES ); in doRevoke()
1821 xKey = xRootKey->openKey( OUSTR("/SINGLETONS") ); in doRevoke()
1827 if (xRootKey.is()) in doRevoke()
1828 xRootKey->closeKey(); in doRevoke()