diff options
Diffstat (limited to 'sc/source/filter/lotus/lotattr.cxx')
-rw-r--r-- | sc/source/filter/lotus/lotattr.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx index 1644ee51856a..1f290c5451a9 100644 --- a/sc/source/filter/lotus/lotattr.cxx +++ b/sc/source/filter/lotus/lotattr.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -116,7 +116,7 @@ LotAttrCache::LotAttrCache( void ) LotAttrCache::~LotAttrCache() { - ENTRY* pAkt = ( ENTRY* ) List::First(); + ENTRY* pAkt = ( ENTRY* ) List::First(); while( pAkt ) { @@ -136,8 +136,8 @@ LotAttrCache::~LotAttrCache() const ScPatternAttr& LotAttrCache::GetPattAttr( const LotAttrWK3& rAttr ) { - UINT32 nRefHash; - ENTRY* pAkt = ( ENTRY* ) List::First(); + UINT32 nRefHash; + ENTRY* pAkt = ( ENTRY* ) List::First(); MakeHash( rAttr, nRefHash ); @@ -150,8 +150,8 @@ const ScPatternAttr& LotAttrCache::GetPattAttr( const LotAttrWK3& rAttr ) } // neues PatternAttribute erzeugen - ScPatternAttr* pNewPatt = new ScPatternAttr( pDocPool ); - SfxItemSet& rItemSet = pNewPatt->GetItemSet(); + ScPatternAttr* pNewPatt = new ScPatternAttr( pDocPool ); + SfxItemSet& rItemSet = pNewPatt->GetItemSet(); pAkt = new ENTRY( pNewPatt ); pAkt->nHash0 = nRefHash; @@ -161,8 +161,8 @@ const ScPatternAttr& LotAttrCache::GetPattAttr( const LotAttrWK3& rAttr ) UINT8 nLine = rAttr.nLineStyle; if( nLine ) { - SvxBoxItem aBox( ATTR_BORDER ); - SvxBorderLine aTop, aLeft, aBottom, aRight; + SvxBoxItem aBox( ATTR_BORDER ); + SvxBorderLine aTop, aLeft, aBottom, aRight; LotusToScBorderLine( nLine, aLeft ); nLine >>= 2; @@ -180,7 +180,7 @@ const ScPatternAttr& LotAttrCache::GetPattAttr( const LotAttrWK3& rAttr ) rItemSet.Put( aBox ); } - UINT8 nFontCol = rAttr.nFontCol & 0x07; + UINT8 nFontCol = rAttr.nFontCol & 0x07; if( nFontCol ) { // nFontCol > 0 @@ -216,7 +216,7 @@ void LotAttrCol::SetAttr( const SCROW nRow, const ScPatternAttr& rAttr ) { DBG_ASSERT( ValidRow(nRow), "*LotAttrCol::SetAttr(): ... und rums?!" ); - ENTRY* pAkt = ( ENTRY* ) List::Last(); + ENTRY* pAkt = ( ENTRY* ) List::Last(); if( pAkt ) { @@ -232,7 +232,7 @@ void LotAttrCol::SetAttr( const SCROW nRow, const ScPatternAttr& rAttr ) } } else - { // erster Eintrag + { // erster Eintrag pAkt = new ENTRY; pAkt->pPattAttr = &rAttr; pAkt->nFirstRow = pAkt->nLastRow = nRow; @@ -243,8 +243,8 @@ void LotAttrCol::SetAttr( const SCROW nRow, const ScPatternAttr& rAttr ) void LotAttrCol::Apply( const SCCOL nColNum, const SCTAB nTabNum, const BOOL /*bClear*/ ) { - ScDocument* pDoc = pLotusRoot->pDoc; - ENTRY* pAkt = ( ENTRY* ) List::First(); + ScDocument* pDoc = pLotusRoot->pDoc; + ENTRY* pAkt = ( ENTRY* ) List::First(); while( pAkt ) { @@ -258,7 +258,7 @@ void LotAttrCol::Apply( const SCCOL nColNum, const SCTAB nTabNum, const BOOL /*b void LotAttrCol::Clear( void ) { - ENTRY* pAkt = ( ENTRY* ) List::First(); + ENTRY* pAkt = ( ENTRY* ) List::First(); while( pAkt ) { @@ -281,8 +281,8 @@ LotAttrTable::~LotAttrTable() void LotAttrTable::SetAttr( const SCCOL nColFirst, const SCCOL nColLast, const SCROW nRow, const LotAttrWK3& rAttr ) { - const ScPatternAttr& rPattAttr = aAttrCache.GetPattAttr( rAttr ); - SCCOL nColCnt; + const ScPatternAttr& rPattAttr = aAttrCache.GetPattAttr( rAttr ); + SCCOL nColCnt; for( nColCnt = nColFirst ; nColCnt <= nColLast ; nColCnt++ ) pCols[ nColCnt ].SetAttr( nRow, rPattAttr ); @@ -291,9 +291,9 @@ void LotAttrTable::SetAttr( const SCCOL nColFirst, const SCCOL nColLast, const S void LotAttrTable::Apply( const SCTAB nTabNum ) { - SCCOL nColCnt; + SCCOL nColCnt; for( nColCnt = 0 ; nColCnt <= MAXCOL ; nColCnt++ ) - pCols[ nColCnt ].Apply( nColCnt, nTabNum ); // macht auch gleich ein Clear() am Ende + pCols[ nColCnt ].Apply( nColCnt, nTabNum ); // macht auch gleich ein Clear() am Ende } |