diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-07 22:33:44 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-07 22:35:03 -0500 |
commit | 2419d3c2de9ddcf1c9884d4216775ce70f652f5a (patch) | |
tree | e1bc59ebbfadd4d7496ec356891d48b571ed21b2 /sc/inc | |
parent | ec3aa099c4c5698ed3c67f60805cf71013655b36 (diff) |
fdo#43534: Fully support external references in CELL function.
Some parameters don't work with external references, however, such
as PROTECT, PREFIX and WIDTH.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index e0f31580773e..e39ac2ed6077 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -107,9 +107,9 @@ public: struct CellFormat { - bool mbIsSet; - short mnType; - sal_uInt32 mnIndex; + bool mbIsSet; + short mnType; + sal_uLong mnIndex; explicit CellFormat(); }; @@ -118,8 +118,8 @@ private: /** individual cell within cached external ref table. */ struct Cell { - TokenRef mxToken; - sal_uInt32 mnFmtIndex; + TokenRef mxToken; + sal_uLong mnFmtIndex; }; typedef ::boost::unordered_map<SCCOL, Cell> RowDataType; typedef ::boost::unordered_map<SCROW, RowDataType> RowsDataType; @@ -160,7 +160,7 @@ public: * false _only when_ adding a range of cell * values, for performance reasons. */ - SC_DLLPUBLIC void setCell(SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uInt32 nFmtIndex = 0, bool bSetCacheRange = true); + SC_DLLPUBLIC void setCell(SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uLong nFmtIndex = 0, bool bSetCacheRange = true); SC_DLLPUBLIC TokenRef getCell(SCCOL nCol, SCROW nRow, sal_uInt32* pnFmtIndex = NULL) const; bool hasRow( SCROW nRow ) const; /** Set/clear referenced status flag only if current status is not @@ -242,7 +242,7 @@ public: void setRangeNameTokens(sal_uInt16 nFileId, const ::rtl::OUString& rName, TokenArrayRef pArray); void setCellData(sal_uInt16 nFileId, const ::rtl::OUString& rTabName, - SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uInt32 nFmtIndex); + SCCOL nCol, SCROW nRow, TokenRef pToken, sal_uLong nFmtIndex); struct SingleRangeData { @@ -681,7 +681,7 @@ private: void insertRefCell(sal_uInt16 nFileId, const ScAddress& rCell); - void fillCellFormat(sal_uInt32 nFmtIndex, ScExternalRefCache::CellFormat* pFmt) const; + void fillCellFormat(sal_uLong nFmtIndex, ScExternalRefCache::CellFormat* pFmt) const; ScExternalRefCache::TokenRef getSingleRefTokenFromSrcDoc( sal_uInt16 nFileId, const ScDocument* pSrcDoc, const ScAddress& rCell, |