diff options
author | Kurt Zenker <kz@openoffice.org> | 2004-08-02 13:17:35 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2004-08-02 13:17:35 +0000 |
commit | 77e78aa6cd128e2771034e002e1b9e636c708866 (patch) | |
tree | 325507ce3aa58975a01f648b3de69f30c5aa8455 /sw/source | |
parent | 3b5d4d741656425798f2ea703a19ea6535b18b02 (diff) |
INTEGRATION: CWS swobjpos04 (1.13.112); FILE MERGED
2004/05/07 13:07:00 od 1.13.112.1: #i28701# - correct double declaration of loop variable <i>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unocrsrhelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx index 3971c0e0b29c..5e1524cb2cbb 100644 --- a/sw/source/core/unocore/unocrsrhelper.cxx +++ b/sw/source/core/unocore/unocrsrhelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unocrsrhelper.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: hr $ $Date: 2004-03-08 12:27:03 $ + * last change: $Author: kz $ $Date: 2004-08-02 14:17:35 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -618,12 +618,12 @@ void setNumberingProperty(const Any& rValue, SwPaM& rPam) else { - // CharStyle besorgen und an der chaos::Rule setzen + // CharStyle besorgen und an der Rule setzen sal_uInt16 nChCount = pDoc->GetCharFmts()->Count(); SwCharFmt* pCharFmt = 0; - for(sal_uInt16 i = 0; i< nChCount; i++) + for(sal_uInt16 nCharFmt = 0; nCharFmt < nChCount; nCharFmt++) { - SwCharFmt& rChFmt = *((*(pDoc->GetCharFmts()))[i]);; + SwCharFmt& rChFmt = *((*(pDoc->GetCharFmts()))[nCharFmt]);; if(rChFmt.GetName() == pNewCharStyles[i]) { pCharFmt = &rChFmt; |