diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-14 11:23:23 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-04-14 11:41:05 -0400 |
commit | 8f403051968298fbabd61de82fbb6a77762c83cc (patch) | |
tree | ef984426aa1e825524a0936ceefbf154c01400f7 /sc/inc | |
parent | 85a070f93f4dc02a1c0142e4e8f03bde55227e76 (diff) |
fdo#77209: Share string pool with clip documents.
We do the same with undo documents, and it will only make sense to do
the same with clip documents as well. Also, put the sharing part into
a common method (for ease of tracking).
Change-Id: I342b22d95374ee06d16318a66ffea0ac5b42621c
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 6fe5f9f128bf..582d086e68ee 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2147,6 +2147,8 @@ private: // CLOOK-Impl-methods SCSIZE GetPatternCount( SCTAB nTab, SCCOL nCol ) const; SCSIZE GetPatternCount( SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2 ) const; bool ReservePatternCount( SCTAB nTab, SCCOL nCol, SCSIZE nReserve ); + + void SharePooledResources( ScDocument* pSrcDoc ); }; inline void ScDocument::GetSortParam( ScSortParam& rParam, SCTAB nTab ) { |