diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 16:25:47 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2003-12-01 16:25:47 +0000 |
commit | 481391ba239a49bd23106781b92ca16452d09a90 (patch) | |
tree | 3b6c74ad89b9fe421e1c3e7a97412d62efb71c52 /sw/source/filter/html/htmlfld.cxx | |
parent | 72dfa2220e482c56fb31fc258f07f09fb5597232 (diff) |
INTEGRATION: CWS ooo20031110 (1.6.234); FILE MERGED
2003/11/13 10:57:08 waratah 1.6.234.1: #i22301# correct the for scope problems in the code
Diffstat (limited to 'sw/source/filter/html/htmlfld.cxx')
-rw-r--r-- | sw/source/filter/html/htmlfld.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlfld.cxx b/sw/source/filter/html/htmlfld.cxx index 175eff4a252d..53bc9a3cc9ab 100644 --- a/sw/source/filter/html/htmlfld.cxx +++ b/sw/source/filter/html/htmlfld.cxx @@ -2,9 +2,9 @@ * * $RCSfile: htmlfld.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: vg $ $Date: 2003-04-17 14:54:44 $ + * last change: $Author: rt $ $Date: 2003-12-01 17:25:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -275,7 +275,9 @@ void SwHTMLParser::NewField() const HTMLOption *pSubOption=0, *pFmtOption=0; const HTMLOptions *pOptions = GetOptions(); - for( USHORT i = pOptions->Count(); i; ) + USHORT i; + + for( i = pOptions->Count(); i; ) { const HTMLOption *pOption = (*pOptions)[--i]; switch( pOption->GetToken() ) |