summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-08-29 08:28:06 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-08-29 08:28:06 +0000
commit0975c4a3ed8ed08722eeb0428ff0c77c0a5339ce (patch)
treedfa043a32f0988f56b18c768a8c023ceabbd2ab6 /registry
parent82a123ff0f9e529115fce63d344574ba2c64b9a1 (diff)
#91602# correct error code in mergeKey function
Diffstat (limited to 'registry')
-rw-r--r--registry/source/registry.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx
index 2ac58987d539..8b93e5614bc8 100644
--- a/registry/source/registry.cxx
+++ b/registry/source/registry.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: registry.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jsc $ $Date: 2001-03-14 09:36:00 $
+ * last change: $Author: jsc $ $Date: 2001-08-29 09:28:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -508,8 +508,7 @@ static RegError REGISTRY_CALLTYPE mergeKey(RegHandle hReg,
destroyRegistry(hReg, tmpName);
*/
- if ( pKey != pNewKey )
- _ret = pKey->closeKey(pNewKey);
+ _ret = pKey->closeKey(pNewKey);
return _ret;
}