diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-01 20:57:56 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-04 19:15:21 -0400 |
commit | 878439cc9293e3f5a00f1ffd8d2a13e4fc1b804f (patch) | |
tree | 3f486ae2c83dea424096517b12ad3bbe048f1ec1 /sc/inc/formulagroup.hxx | |
parent | 6cea76189fb8d9fbb358f757157df66c7ea31c85 (diff) |
Move this string pool code to svl.
Change-Id: I1379fbc377607be8831133d64db2e14f8c75bff8
Diffstat (limited to 'sc/inc/formulagroup.hxx')
-rw-r--r-- | sc/inc/formulagroup.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/formulagroup.hxx b/sc/inc/formulagroup.hxx index e7c13cd15562..a8d20bb9890a 100644 --- a/sc/inc/formulagroup.hxx +++ b/sc/inc/formulagroup.hxx @@ -14,6 +14,8 @@ #include "types.hxx" #include "platforminfo.hxx" +#include "svl/stringpool.hxx" + #include <vector> #include <boost/noncopyable.hpp> #include <boost/ptr_container/ptr_vector.hpp> @@ -26,17 +28,14 @@ namespace sc { struct FormulaGroupContext : boost::noncopyable { - typedef boost::unordered_set<OUString, OUStringHash> StrHashType; typedef std::vector<double> NumArrayType; typedef std::vector<rtl_uString*> StrArrayType; typedef boost::ptr_vector<NumArrayType> NumArrayStoreType; typedef boost::ptr_vector<StrArrayType> StrArrayStoreType; - StrHashType maStrPool; + svl::StringPool maStrPool; NumArrayStoreType maNumArrays; StrArrayStoreType maStrArrays; - - rtl_uString* intern( const OUString& rStr ); }; /** |