diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 19:38:24 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-27 00:07:15 -0400 |
commit | f1211bc84d62598be18d9a61e8d63563a0d74f5a (patch) | |
tree | 4bf814a8b5cdd342a7f5bb86567646658975a1a9 /sc/inc | |
parent | f051163d699c802dc51be0b9af9a9879bcee5307 (diff) |
Converted the external ref manager code.
Change-Id: Ifbce13bc8a941e548b1ba647519cf9765b7f55d0
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/cellvalue.hxx | 2 | ||||
-rw-r--r-- | sc/inc/externalrefmgr.hxx | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sc/inc/cellvalue.hxx b/sc/inc/cellvalue.hxx index d4ef3076d0c4..fb7c17573fb8 100644 --- a/sc/inc/cellvalue.hxx +++ b/sc/inc/cellvalue.hxx @@ -130,6 +130,8 @@ struct SC_DLLPUBLIC ScRefCellValue bool isEmpty() const; + bool hasEmptyValue(); + bool equalsWithoutFormat( const ScRefCellValue& r ) const; ScRefCellValue& operator= ( const ScRefCellValue& r ); diff --git a/sc/inc/externalrefmgr.hxx b/sc/inc/externalrefmgr.hxx index 87693a3c8def..c49ec900a3e3 100644 --- a/sc/inc/externalrefmgr.hxx +++ b/sc/inc/externalrefmgr.hxx @@ -690,7 +690,7 @@ private: void fillCellFormat(sal_uLong nFmtIndex, ScExternalRefCache::CellFormat* pFmt) const; ScExternalRefCache::TokenRef getSingleRefTokenFromSrcDoc( - sal_uInt16 nFileId, const ScDocument* pSrcDoc, const ScAddress& rCell, + sal_uInt16 nFileId, ScDocument* pSrcDoc, const ScAddress& rPos, ScExternalRefCache::CellFormat* pFmt); /** @@ -708,7 +708,7 @@ private: * @return range token array */ ScExternalRefCache::TokenArrayRef getDoubleRefTokensFromSrcDoc( - const ScDocument* pSrcDoc, const ::rtl::OUString& rTabName, ScRange& rRange, + ScDocument* pSrcDoc, const ::rtl::OUString& rTabName, ScRange& rRange, ::std::vector<ScExternalRefCache::SingleRangeData>& rCacheData); /** @@ -724,10 +724,10 @@ private: * @return range name token array */ ScExternalRefCache::TokenArrayRef getRangeNameTokensFromSrcDoc( - sal_uInt16 nFileId, const ScDocument* pSrcDoc, ::rtl::OUString& rName); + sal_uInt16 nFileId, ScDocument* pSrcDoc, ::rtl::OUString& rName); - const ScDocument* getInMemorySrcDocument(sal_uInt16 nFileId); - const ScDocument* getSrcDocument(sal_uInt16 nFileId); + ScDocument* getInMemorySrcDocument(sal_uInt16 nFileId); + ScDocument* getSrcDocument(sal_uInt16 nFileId); SfxObjectShellRef loadSrcDocument(sal_uInt16 nFileId, ::rtl::OUString& rFilter); void maybeLinkExternalFile(sal_uInt16 nFileId); |