summaryrefslogtreecommitdiff
path: root/sc/inc/dptablecache.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-12 22:54:55 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-12 22:56:08 -0500
commita7a4d683b1685edcac0ae00731f2ff04ae670eeb (patch)
tree8d09c791447de13bfdb4299f0bdaffc6cc4a14e2 /sc/inc/dptablecache.hxx
parent222ef4296d2255f168f207a339242dcb6869bc14 (diff)
Cleaned up inconsistent coding styles.
Diffstat (limited to 'sc/inc/dptablecache.hxx')
-rw-r--r--sc/inc/dptablecache.hxx35
1 files changed, 17 insertions, 18 deletions
diff --git a/sc/inc/dptablecache.hxx b/sc/inc/dptablecache.hxx
index 9a32729fa71b..7a49d604faac 100644
--- a/sc/inc/dptablecache.hxx
+++ b/sc/inc/dptablecache.hxx
@@ -54,10 +54,10 @@ class SC_DLLPUBLIC ScDPTableDataCache
std::vector<SCROW>* mpSourceData; //Data Pilot Table's Source data
std::vector<SCROW>* mpGlobalOrder; //Sorted members index
std::vector<SCROW>* mpIndexOrder; //Index the sorted number
- std::vector<ScDPItemData*> mrLabelNames; //Source Label data
+ std::vector<ScDPItemData*> maLabelNames; //Source Label data
std::vector<bool> mbEmptyRow; //If empty row?
- mutable ScDPItemDataPool maAdditionalDatas;
+ mutable ScDPItemDataPool maAdditionalData;
public:
SCROW GetOrder( long nDim, SCROW nIndex ) const;
@@ -77,33 +77,32 @@ public:
SCROW GetSortedItemDataId( SCCOL nDim, SCROW nOrder ) const;
const std::vector<ScDPItemData*>& GetDimMemberValues( SCCOL nDim )const;
- void SetId( long nId ){ mnID = nId;}
- void AddRow( ScDPItemData* pRow, USHORT nCount );
- bool InitFromDoc( ScDocument* pDoc, const ScRange& rRange );
- bool InitFromDataBase (const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& xRowSet, const Date& rNullDate);
-
- SCROW GetRowCount() const;
- SCROW GetItemDataId( USHORT nDim, SCROW nRow, bool bRepeatIfEmpty ) const;
- String GetDimensionName( USHORT nColumn ) const;
- bool IsEmptyMember( SCROW nRow, USHORT nColumn ) const;
- bool IsRowEmpty( SCROW nRow ) const;
- bool IsValid() const;
- bool ValidQuery( SCROW nRow, const ScQueryParam& rQueryParam, bool* pSpecial );
+ void SetId( long nId ){ mnID = nId;}
+ bool InitFromDoc(ScDocument* pDoc, const ScRange& rRange);
+ bool InitFromDataBase(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& xRowSet, const Date& rNullDate);
+
+ SCROW GetRowCount() const;
+ SCROW GetItemDataId( USHORT nDim, SCROW nRow, bool bRepeatIfEmpty ) const;
+ String GetDimensionName( USHORT nColumn ) const;
+ bool IsEmptyMember( SCROW nRow, USHORT nColumn ) const;
+ bool IsRowEmpty( SCROW nRow ) const;
+ bool IsValid() const;
+ bool ValidQuery( SCROW nRow, const ScQueryParam& rQueryParam, bool* pSpecial );
ScDocument* GetDoc() const;//ms-cache-core
long GetColumnCount() const;
- long GetId() const;
+ long GetId() const;
const ScDPItemData* GetItemDataById( long nDim, SCROW nId ) const;
bool operator== ( const ScDPTableDataCache& r ) const;
- ScDPTableDataCache( ScDocument* pDoc );
+ ScDPTableDataCache(ScDocument* pDoc);
virtual ~ScDPTableDataCache();
private:
- void AddLabel( ScDPItemData* pData);
- bool AddData( long nDim, ScDPItemData* itemData );
+ void AddLabel( ScDPItemData* pData);
+ bool AddData( long nDim, ScDPItemData* itemData );
};
#endif