From 8f403051968298fbabd61de82fbb6a77762c83cc Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 14 Apr 2014 11:23:23 -0400 Subject: 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 --- sc/inc/document.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc/inc') 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 ) { -- cgit