diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-18 21:31:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 09:59:21 +0100 |
commit | fab20ec189df54f2e0df9c929210c2eaa5dd656d (patch) | |
tree | 088069ebc7b79376852af5de189457be02be0e8c | |
parent | 24b1a63c613bd364bc1732d8a80635b8ee9acf13 (diff) |
bFound is always false, and never changed, simplify
-rw-r--r-- | tools/bootstrp/prj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bootstrp/prj.cxx b/tools/bootstrp/prj.cxx index 4b98dacf041d..41f8f790612b 100644 --- a/tools/bootstrp/prj.cxx +++ b/tools/bootstrp/prj.cxx @@ -78,10 +78,9 @@ rtl::OString SimpleConfig::GetNextLine() aTmpStr = aTmpStr.EraseTrailingChars(); while ( aTmpStr.SearchAndReplace(ByteString(' '),ByteString('\t') ) != STRING_NOTFOUND ) ; int nLength = aTmpStr.Len(); - sal_Bool bFound = sal_False; for ( sal_uInt16 i = 0; i<= nLength; i++) { - if ( aTmpStr.GetChar( i ) == 0x20 && !bFound ) + if ( aTmpStr.GetChar( i ) == 0x20 ) aTmpStr.SetChar( i, 0x09 ); } return aTmpStr; |