summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-16 04:33:32 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-16 15:17:04 +0200
commitaca98e591fcb15bbc9be38db087ef51192c53a68 (patch)
tree106e97dd778e69f35b235d45731eed43598f94f2 /sc/inc
parentb1f6e6299cf5546bb5fdd5a6d97053c086458afa (diff)
add a way to restore from our new cache format
Change-Id: I6eeaaf9ca05bed2a908143ae5f4daab6e098799c Reviewed-on: https://gerrit.libreoffice.org/41199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/column.hxx1
-rw-r--r--sc/inc/document.hxx1
-rw-r--r--sc/inc/table.hxx2
3 files changed, 4 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index d76f3f0bd992..db72912cbcb2 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -673,6 +673,7 @@ public:
void EnsureFormulaCellResults( SCROW nRow1, SCROW nRow2 );
void StoreToCache(SvStream& rStrm) const;
+ void RestoreFromCache(SvStream& rStrm);
#if DUMP_COLUMN_STORAGE
void DumpColumnStorage() const;
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index a32eac54bf1e..e832cc381099 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2305,6 +2305,7 @@ public:
std::unique_ptr<sc::ColumnIterator> GetColumnIterator( SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2 ) const;
SC_DLLPUBLIC void StoreTabToCache(SCTAB nTab, SvStream& rStrm) const;
+ SC_DLLPUBLIC void RestoreTabFromCache(SCTAB nTab, SvStream& rStream);
#if DUMP_COLUMN_STORAGE
SC_DLLPUBLIC void DumpColumnStorage( SCTAB nTab, SCCOL nCol ) const;
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index a4d828c1f96a..94f45581c503 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1010,6 +1010,8 @@ public:
void StoreToCache(SvStream& rStrm) const;
+ void RestoreFromCache(SvStream& rStrm);
+
#if DUMP_COLUMN_STORAGE
void DumpColumnStorage( SCCOL nCol ) const;
#endif