diff options
author | Carsten Driesner <cd@openoffice.org> | 2000-10-18 11:46:35 +0000 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2000-10-18 11:46:35 +0000 |
commit | 2b9b9da88656d2689b3d099815ec1780881214b5 (patch) | |
tree | a9656a556d036c50ea7546cbd15457d41239b221 /comphelper/source | |
parent | 8af4c020717b53f0ffad411523bb129f27b09504 (diff) |
endless loop without args removed
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/regpathhelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/misc/regpathhelper.cxx b/comphelper/source/misc/regpathhelper.cxx index f54eef2eab65..bd6f855feca7 100644 --- a/comphelper/source/misc/regpathhelper.cxx +++ b/comphelper/source/misc/regpathhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: regpathhelper.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jsc $ $Date: 2000-10-09 16:27:18 $ + * last change: $Author: cd $ $Date: 2000-10-18 12:46:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -115,7 +115,7 @@ static OUString getDefaultLocalRegistry() sal_uInt32 nArgs = startInfo.getCommandArgCount(); sal_Bool bIsPortalUser = sal_False, bFindProfile = sal_False; OUString sArg; - while( nArgs >= 0 ) + while( nArgs > 0 ) { if ( !startInfo.getCommandArg(--nArgs, sArg) ) { |