summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorJuergen Schmidt <jsc@openoffice.org>2001-09-26 13:12:30 +0000
committerJuergen Schmidt <jsc@openoffice.org>2001-09-26 13:12:30 +0000
commit1ed107494eeec47c0b3eb3a0e1914d4f486e4c95 (patch)
treef1724b0c07ee535a17413887caf8207a56c3c817 /registry
parent38a64477114c043f96a5fdbc6ef5cf4d59fa4148 (diff)
#65293#
Diffstat (limited to 'registry')
-rw-r--r--registry/tools/checksingleton.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/registry/tools/checksingleton.cxx b/registry/tools/checksingleton.cxx
index 9f2e39de5f54..14f41a47ee98 100644
--- a/registry/tools/checksingleton.cxx
+++ b/registry/tools/checksingleton.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: checksingleton.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jsc $ $Date: 2001-08-17 13:05:32 $
+ * last change: $Author: jsc $ $Date: 2001-09-26 14:12:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -419,9 +419,11 @@ static sal_Bool checkSingletons(RegistryKey& singletonKey, RegistryKey& typeKey)
typeKey.openSubKeys(tmpName, subKeys);
sal_uInt32 length = subKeys.getLength();
+ RegistryKey elementKey;
for (sal_uInt32 i = 0; i < length; i++)
{
- if ( checkSingletons(singletonKey, subKeys.getElement(i)) )
+ elementKey = subKeys.getElement(i);
+ if ( checkSingletons(singletonKey, elementKey) )
{
bRet = sal_True;
}
@@ -430,7 +432,7 @@ static sal_Bool checkSingletons(RegistryKey& singletonKey, RegistryKey& typeKey)
}
#if (defined UNX) || (defined OS2)
-void main( int argc, char * argv[] )
+int main( int argc, char * argv[] )
#else
void _cdecl main( int argc, char * argv[] )