diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-24 13:10:17 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-24 13:13:51 -0500 |
commit | e752620bf593af8839831f693ec21bb02a8b23d6 (patch) | |
tree | 007522d382c7404a9a3e682d0f4c7fd23ad39e22 /sc/inc | |
parent | d7e5c54451acc9959fd38f0db7eb7e5ac6b38858 (diff) |
fdo#75259: Let undo document share its string pool with the source doc.
We already do that for the pool helper. It would only make sense to do
it for shared strings as well.
Change-Id: I813d262799af6f0c1d3fa12246ad973f852ac199
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 0ab8400c8a23..6bb74e23f186 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -46,6 +46,8 @@ #include <vector> #include <boost/ptr_container/ptr_vector.hpp> #include <boost/scoped_ptr.hpp> +#include <boost/shared_ptr.hpp> + #include "markdata.hxx" namespace editeng { class SvxBorderLine; } @@ -260,7 +262,7 @@ private: rtl::Reference<ScPoolHelper> xPoolHelper; - boost::scoped_ptr<svl::SharedStringPool> mpCellStringPool; + boost::shared_ptr<svl::SharedStringPool> mpCellStringPool; boost::scoped_ptr<sc::FormulaGroupContext> mpFormulaGroupCxt; mutable boost::scoped_ptr<sc::DocumentLinkManager> mpDocLinkMgr; |