summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-1.0/files/patch-registry+source+regkey.cxx
blob: a04188601413eac6c9978f3d7443dc21a13f2705 (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;