diff options
Diffstat (limited to 'sc/source/core/data/documen2.cxx')
-rw-r--r-- | sc/source/core/data/documen2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index ea00606ea08d..0fb675584cc9 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -35,7 +35,7 @@ #include <vcl/virdev.hxx> #include <comphelper/processfactory.hxx> #include <svl/PasswordHelper.hxx> -#include "svl/stringpool.hxx" +#include "svl/sharedstringpool.hxx" #include <tools/tenccvt.hxx> #include <tools/urlobj.hxx> #include <rtl/crc.h> @@ -119,7 +119,7 @@ private: // STATIC DATA ----------------------------------------------------------- ScDocument::ScDocument( ScDocumentMode eMode, SfxObjectShell* pDocShell ) : - mpCellStringPool(new svl::StringPool(ScGlobal::pCharClass)), + mpCellStringPool(new svl::SharedStringPool(ScGlobal::pCharClass)), mpUndoManager( NULL ), pEditEngine( NULL ), pNoteEngine( NULL ), @@ -600,12 +600,12 @@ ScRefCellValue ScDocument::GetRefCellValue( const ScAddress& rPos ) return maTabs[rPos.Tab()]->GetRefCellValue(rPos.Col(), rPos.Row()); } -svl::StringPool& ScDocument::GetCellStringPool() +svl::SharedStringPool& ScDocument::GetCellStringPool() { return *mpCellStringPool; } -const svl::StringPool& ScDocument::GetCellStringPool() const +const svl::SharedStringPool& ScDocument::GetCellStringPool() const { return *mpCellStringPool; } |