diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-06-07 20:57:16 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-06-07 20:58:15 -0400 |
commit | 024b5c3ff996cd2a0b775c980375b3517622cf7f (patch) | |
tree | ce7edc864fd051a88c9c427ceee1cb4de83abb86 /sc/inc | |
parent | cb729adc57f30e1357eaacc55bd574355e59955f (diff) |
Renamed pTab to maTabs since it's no longer a pointer array.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 4ef0f9ff27b9..ac4c785809ee 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -186,8 +186,6 @@ namespace com { namespace sun { namespace star { #define SC_ASIANCOMPRESSION_INVALID 0xff #define SC_ASIANKERNING_INVALID 0xff -typedef ::std::vector<ScTable*> TableContainer; - enum ScDocumentMode { SCDOCMODE_DOCUMENT, @@ -224,6 +222,7 @@ friend class ScAttrRectIterator; friend class ScDocShell; friend class ScDocRowHeightUpdater; + typedef ::std::vector<ScTable*> TableContainer; private: ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceManager; @@ -241,7 +240,7 @@ private: ScConditionalFormatList* pCondFormList; // conditional formats ScValidationDataList* pValidationList; // validity SvNumberFormatterIndexTable* pFormatExchangeList; // for application of number formats - ::std::vector<ScTable*> pTab; + TableContainer maTabs; mutable ScRangeName* pRangeName; ScDBCollection* pDBCollection; ScDPCollection* pDPCollection; @@ -472,7 +471,7 @@ public: SC_DLLPUBLIC ScRangeName* GetRangeName() const; void SetRangeName(SCTAB nTab, ScRangeName* pNew); void SetRangeName( ScRangeName* pNewRangeName ); - SCTAB GetMaxTableNumber() { return static_cast<SCTAB>(pTab.size()) - 1; } + SCTAB GetMaxTableNumber() { return static_cast<SCTAB>(maTabs.size()) - 1; } void SetMaxTableNumber(SCTAB nNumber) { nMaxTableNumber = nNumber; } ScRangePairList* GetColNameRanges() { return &xColNameRanges; } @@ -535,7 +534,7 @@ public: SC_DLLPUBLIC void SetAnonymousDBData(SCTAB nTab, ScDBData* pDBData); SC_DLLPUBLIC ScDBData* GetAnonymousDBData(SCTAB nTab); - SC_DLLPUBLIC inline SCTAB GetTableCount() const { return static_cast<SCTAB>(pTab.size()); } + SC_DLLPUBLIC inline SCTAB GetTableCount() const { return static_cast<SCTAB>(maTabs.size()); } SvNumberFormatterIndexTable* GetFormatExchangeList() const { return pFormatExchangeList; } SC_DLLPUBLIC ScDocProtection* GetDocProtection() const; |