diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-03-18 15:33:40 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-03-18 15:33:40 +0100 |
commit | e6064484fae8aa2797f86c68e9a8d23d2e213367 (patch) | |
tree | db2f4d140efca43ab01dee4fc053fff0829d106b /sc/inc/olinetab.hxx | |
parent | WaE: silence some warnings (diff) | |
parent | Get the unit test code to build. (diff) | |
download | core-e6064484fae8aa2797f86c68e9a8d23d2e213367.tar.gz core-e6064484fae8aa2797f86c68e9a8d23d2e213367.zip |
Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts:
chart2/source/controller/main/UndoManager.cxx
chart2/source/tools/RegressionCurveHelper.cxx
sc/inc/address.hxx
sc/inc/attrib.hxx
sc/inc/bigrange.hxx
sc/inc/callform.hxx
sc/inc/cell.hxx
sc/inc/chartarr.hxx
sc/inc/chartlis.hxx
sc/inc/chgtrack.hxx
sc/inc/collect.hxx
sc/inc/compiler.hxx
sc/inc/detdata.hxx
sc/inc/document.hxx
sc/inc/fillinfo.hxx
sc/inc/olinetab.hxx
sc/inc/prnsave.hxx
sc/inc/queryparam.hxx
sc/inc/sc.hrc
sc/inc/scabstdlg.hxx
sc/inc/table.hxx
sc/inc/validat.hxx
sc/inc/zforauto.hxx
sc/source/core/data/documen2.cxx
sc/source/core/data/document.cxx
sc/source/core/data/table1.cxx
sc/source/core/tool/address.cxx
sc/source/core/tool/token.cxx
sc/source/filter/excel/frmbase.cxx
sc/source/filter/excel/impop.cxx
sc/source/filter/excel/xename.cxx
sc/source/filter/inc/formel.hxx
sc/source/filter/inc/xename.hxx
sc/source/filter/xml/xmlexprt.cxx
sc/source/filter/xml/xmlnexpi.cxx
sc/source/filter/xml/xmlnexpi.hxx
sc/source/ui/dbgui/filtdlg.cxx
sc/source/ui/inc/docfunc.hxx
sc/source/ui/inc/namedlg.hxx
sc/source/ui/namedlg/namedlg.cxx
sc/source/ui/src/namedlg.src
Diffstat (limited to 'sc/inc/olinetab.hxx')
-rw-r--r-- | sc/inc/olinetab.hxx | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx index 1a42b13e5cb9..d1cf0257c0bd 100644 --- a/sc/inc/olinetab.hxx +++ b/sc/inc/olinetab.hxx @@ -48,7 +48,7 @@ class ScOutlineEntry : public ScDataObject public: ScOutlineEntry( SCCOLROW nNewStart, SCCOLROW nNewSize, - bool bNewHidden = FALSE ); + bool bNewHidden = false ); ScOutlineEntry( const ScOutlineEntry& rEntry ); virtual ScDataObject* Clone() const; @@ -74,7 +74,7 @@ public: virtual short Compare(ScDataObject* pKey1, ScDataObject* pKey2) const; - USHORT FindStart( SCCOLROW nMinStart ); + sal_uInt16 FindStart( SCCOLROW nMinStart ); }; @@ -83,46 +83,46 @@ class SC_DLLPUBLIC ScOutlineArray friend class ScSubOutlineIterator; private: - USHORT nDepth; + sal_uInt16 nDepth; ScOutlineCollection aCollections[SC_OL_MAXDEPTH]; - BOOL DecDepth(); - void FindEntry( SCCOLROW nSearchPos, USHORT& rFindLevel, USHORT& rFindIndex, - USHORT nMaxLevel = SC_OL_MAXDEPTH ); - void RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, USHORT nLevel ); - void PromoteSub( SCCOLROW nStartPos, SCCOLROW nEndPos, USHORT nStartLevel ); + sal_Bool DecDepth(); + void FindEntry( SCCOLROW nSearchPos, sal_uInt16& rFindLevel, sal_uInt16& rFindIndex, + sal_uInt16 nMaxLevel = SC_OL_MAXDEPTH ); + void RemoveSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nLevel ); + void PromoteSub( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_uInt16 nStartLevel ); public: ScOutlineArray(); ScOutlineArray( const ScOutlineArray& rArray ); - USHORT GetDepth() const { return nDepth; } + sal_uInt16 GetDepth() const { return nDepth; } - BOOL FindTouchedLevel( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, - USHORT& rFindLevel ) const; + sal_Bool FindTouchedLevel( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, + sal_uInt16& rFindLevel ) const; - BOOL Insert( SCCOLROW nStartPos, SCCOLROW nEndPos, BOOL& rSizeChanged, - BOOL bHidden = FALSE, BOOL bVisible = TRUE ); - BOOL Remove( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, BOOL& rSizeChanged ); + sal_Bool Insert( SCCOLROW nStartPos, SCCOLROW nEndPos, sal_Bool& rSizeChanged, + sal_Bool bHidden = false, sal_Bool bVisible = sal_True ); + sal_Bool Remove( SCCOLROW nBlockStart, SCCOLROW nBlockEnd, sal_Bool& rSizeChanged ); - ScOutlineEntry* GetEntry( USHORT nLevel, USHORT nIndex ) const; - USHORT GetCount( USHORT nLevel ) const; - ScOutlineEntry* GetEntryByPos( USHORT nLevel, SCCOLROW nPos ) const; + ScOutlineEntry* GetEntry( sal_uInt16 nLevel, sal_uInt16 nIndex ) const; + sal_uInt16 GetCount( sal_uInt16 nLevel ) const; + ScOutlineEntry* GetEntryByPos( sal_uInt16 nLevel, SCCOLROW nPos ) const; - BOOL GetEntryIndex( USHORT nLevel, SCCOLROW nPos, USHORT& rnIndex ) const; - BOOL GetEntryIndexInRange( - USHORT nLevel, SCCOLROW nBlockStart, SCCOLROW nBlockEnd, - USHORT& rnIndex ) const; + sal_Bool GetEntryIndex( sal_uInt16 nLevel, SCCOLROW nPos, sal_uInt16& rnIndex ) const; + sal_Bool GetEntryIndexInRange( + sal_uInt16 nLevel, SCCOLROW nBlockStart, SCCOLROW nBlockEnd, + sal_uInt16& rnIndex ) const; - void SetVisibleBelow( USHORT nLevel, USHORT nEntry, BOOL bValue, - BOOL bSkipHidden = FALSE ); + void SetVisibleBelow( sal_uInt16 nLevel, sal_uInt16 nEntry, sal_Bool bValue, + sal_Bool bSkipHidden = false ); void GetRange( SCCOLROW& rStart, SCCOLROW& rEnd ) const; - void ExtendBlock( USHORT nLevel, SCCOLROW& rBlkStart, SCCOLROW& rBlkEnd ); + void ExtendBlock( sal_uInt16 nLevel, SCCOLROW& rBlkStart, SCCOLROW& rBlkEnd ); - BOOL TestInsertSpace( SCSIZE nSize, SCCOLROW nMaxVal ) const; + sal_Bool TestInsertSpace( SCSIZE nSize, SCCOLROW nMaxVal ) const; void InsertSpace( SCCOLROW nStartPos, SCSIZE nSize ); - BOOL DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ); + sal_Bool DeleteSpace( SCCOLROW nStartPos, SCSIZE nSize ); bool ManualAction( SCCOLROW nStartPos, SCCOLROW nEndPos, bool bShow, ScTable& rTable, bool bCol ); @@ -145,12 +145,12 @@ public: const ScOutlineArray* GetRowArray() const { return &aRowOutline; } ScOutlineArray* GetRowArray() { return &aRowOutline; } - BOOL TestInsertCol( SCSIZE nSize ); + sal_Bool TestInsertCol( SCSIZE nSize ); void InsertCol( SCCOL nStartCol, SCSIZE nSize ); - BOOL DeleteCol( SCCOL nStartCol, SCSIZE nSize ); // TRUE: Undo only using original - BOOL TestInsertRow( SCSIZE nSize ); + sal_Bool DeleteCol( SCCOL nStartCol, SCSIZE nSize ); // TRUE: Undo only using original + sal_Bool TestInsertRow( SCSIZE nSize ); void InsertRow( SCROW nStartRow, SCSIZE nSize ); - BOOL DeleteRow( SCROW nStartRow, SCSIZE nSize ); + sal_Bool DeleteRow( SCROW nStartRow, SCSIZE nSize ); }; @@ -160,18 +160,18 @@ private: ScOutlineArray* pArray; SCCOLROW nStart; SCCOLROW nEnd; - USHORT nSubLevel; - USHORT nSubEntry; - USHORT nCount; - USHORT nDepth; + sal_uInt16 nSubLevel; + sal_uInt16 nSubEntry; + sal_uInt16 nCount; + sal_uInt16 nDepth; public: ScSubOutlineIterator( ScOutlineArray* pOutlineArray ); ScSubOutlineIterator( ScOutlineArray* pOutlineArray, - USHORT nLevel, USHORT nEntry ); + sal_uInt16 nLevel, sal_uInt16 nEntry ); ScOutlineEntry* GetNext(); - USHORT LastLevel() const; - USHORT LastEntry() const; + sal_uInt16 LastLevel() const; + sal_uInt16 LastEntry() const; void DeleteLast(); }; |