diff options
Diffstat (limited to 'sc/inc/consoli.hxx')
-rw-r--r-- | sc/inc/consoli.hxx | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/sc/inc/consoli.hxx b/sc/inc/consoli.hxx index 9d994710b7b2..784f511fa7b6 100644 --- a/sc/inc/consoli.hxx +++ b/sc/inc/consoli.hxx @@ -25,33 +25,6 @@ class ScDocument; -struct ScReferenceEntry // without constructor ! -{ - SCCOL nCol; - SCROW nRow; - SCTAB nTab; -}; - -//! Use delta value for data? - -class ScReferenceList // without constructor ! -{ -private: - SCSIZE nCount; - SCSIZE nFullSize; // incl. fill entries - ScReferenceEntry* pData; - -public: - void Init() { nCount=0; nFullSize=0; pData=nullptr; } - void Clear() { delete[] pData; } - - SCSIZE GetCount() { return nCount; } - const ScReferenceEntry& GetEntry( SCSIZE nPos ) { return pData[nPos]; } - void SetFullSize( SCSIZE nNew ) { nFullSize = nNew; } - - void AddEntry( SCCOL nCol, SCROW nRow, SCTAB nTab ); -}; - // Sequence: // 1) create ScConsData // 2) Parameter (Size/Flags) @@ -66,6 +39,13 @@ public: class ScConsData { private: + struct ScReferenceEntry // without constructor ! + { + SCCOL nCol; + SCROW nRow; + SCTAB nTab; + }; + typedef std::vector<ScReferenceEntry> ScReferenceList; ScSubTotalFunc eFunction; bool bReference; bool bColByName; |