diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:43:45 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-06-04 09:43:45 +0000 |
commit | 2e41e66d97ce3ec0cdb906424c32edb2c6969657 (patch) | |
tree | 92a192dba3a994e3c644d396bfefb7d0357c7a8e /sc/source/filter/excel/exctools.cxx | |
parent | 6cf0f463264d66d9597ecd5edd290397fea27cc2 (diff) |
INTEGRATION: CWS rowlimit (1.44.16); FILE MERGED
2004/04/29 16:23:48 er 1.44.16.2: RESYNC: (1.44-1.45); FILE MERGED
2004/04/01 16:39:03 er 1.44.16.1: #i1967# SCSIZE instead of USHORT (and remove unused SetOuted())
Diffstat (limited to 'sc/source/filter/excel/exctools.cxx')
-rw-r--r-- | sc/source/filter/excel/exctools.cxx | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/sc/source/filter/excel/exctools.cxx b/sc/source/filter/excel/exctools.cxx index 8f0aa6c31470..1efcc5d869f0 100644 --- a/sc/source/filter/excel/exctools.cxx +++ b/sc/source/filter/excel/exctools.cxx @@ -2,9 +2,9 @@ * * $RCSfile: exctools.cxx,v $ * - * $Revision: 1.45 $ + * $Revision: 1.46 $ * - * last change: $Author: obo $ $Date: 2004-03-19 16:08:34 $ + * last change: $Author: obo $ $Date: 2004-06-04 10:43:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -184,7 +184,7 @@ RootData::~RootData() -OutlineBuffer::OutlineBuffer( USHORT nNewSize ) +OutlineBuffer::OutlineBuffer( SCSIZE nNewSize ) { DBG_ASSERT( nNewSize > 0, "-OutlineBuffer::Ctor: nNewSize == 0!" ); @@ -206,7 +206,7 @@ OutlineBuffer::~OutlineBuffer() } -void OutlineBuffer::SetLevel( USHORT nIndex, BYTE nVal, BOOL bOuted, BOOL bHidden ) +void OutlineBuffer::SetLevel( SCSIZE nIndex, BYTE nVal, BOOL bOuted, BOOL bHidden ) { if( nIndex < nSize ) { @@ -222,28 +222,6 @@ void OutlineBuffer::SetLevel( USHORT nIndex, BYTE nVal, BOOL bOuted, BOOL bHidde } -void OutlineBuffer::SetOuted( USHORT nIndex ) -{ - if( nIndex < nSize ) - { - pOuted[ nIndex ] = TRUE; - if( nIndex > nLast ) - nLast = nIndex; - } -} - - -void OutlineBuffer::SetOuted( USHORT nIndex, BOOL bOuted ) -{ - if( nIndex < nSize ) - { - pOuted[ nIndex ] = bOuted; - if( nIndex > nLast ) - nLast = nIndex; - } -} - - void OutlineBuffer::SetOutlineArray( ScOutlineArray* pOArray ) { pOutlineArray = pOArray; @@ -345,7 +323,7 @@ void OutlineBuffer::MakeScOutline( void ) } -void OutlineBuffer::SetLevelRange( USHORT nF, USHORT nL, BYTE nVal, +void OutlineBuffer::SetLevelRange( SCSIZE nF, SCSIZE nL, BYTE nVal, BOOL bOuted, BOOL bHidden ) { DBG_ASSERT( nF <= nL, "+OutlineBuffer::SetLevelRange(): Last < First!" ); @@ -380,7 +358,7 @@ void OutlineBuffer::SetLevelRange( USHORT nF, USHORT nL, BYTE nVal, void OutlineBuffer::Reset( void ) { - for( USHORT nC = 0 ; nC < nSize ; nC++ ) + for( SCSIZE nC = 0 ; nC < nSize ; nC++ ) { pLevel[ nC ] = 0; pOuted[ nC ] = pHidden[ nC ] = FALSE; @@ -392,7 +370,7 @@ void OutlineBuffer::Reset( void ) void OutlineBuffer::Reset( ScOutlineArray *pOArray ) { - for( USHORT nC = 0 ; nC < nSize ; nC++ ) + for( SCSIZE nC = 0 ; nC < nSize ; nC++ ) { pLevel[ nC ] = 0; pOuted[ nC ] = pHidden[ nC ] = FALSE; |