aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-RC/files/patch-registry::source::regkey.cxx
blob: fad069f83f1425c475fe52be052040765e3bac7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ../registry/source/regkey.cxx.orig	Mon Mar 11 01:27:56 2002
+++ ../registry/source/regkey.cxx	Mon Mar 11 01:28:51 2002
@@ -228,6 +228,9 @@
 {
 	RegError _ret = REG_NO_ERROR;
 
+       if (!nSubKeys)
+		return REG_NO_ERROR;
+
 	if (phSubKeys)
 	{
 		ORegistry* pReg = NULL;