diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-04 19:13:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-04 19:15:26 -0400 |
commit | 3ff650d5659ed050e33074355ee2384f1569b21e (patch) | |
tree | 32ffee5777a40bd95b1b2abca0e7d7d33d349943 /include | |
parent | 200b4539677b51cb7161a5dd4697778dbfc693e3 (diff) |
Rename StringPool to SharedStringPool because that's what it is.
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/editobj.hxx | 8 | ||||
-rw-r--r-- | include/svl/sharedstringpool.hxx (renamed from include/svl/stringpool.hxx) | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 4751469c68ec..3d1cccaed7b0 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -51,7 +51,7 @@ struct Section; namespace svl { -class StringPool; +class SharedStringPool; } @@ -83,10 +83,10 @@ public: * * @param rPool shared string pool. */ - void NormalizeString( svl::StringPool& rPool ); + void NormalizeString( svl::SharedStringPool& rPool ); - bool GetStringIDs( const svl::StringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; - bool GetStringIDsIgnoreCase( const svl::StringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; + bool GetStringIDs( const svl::SharedStringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; + bool GetStringIDsIgnoreCase( const svl::SharedStringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; const SfxItemPool* GetPool() const; sal_uInt16 GetUserType() const; // For OutlinerMode, it can however not save in compatible format diff --git a/include/svl/stringpool.hxx b/include/svl/sharedstringpool.hxx index fbcff1e58b7c..6793162059f8 100644 --- a/include/svl/stringpool.hxx +++ b/include/svl/sharedstringpool.hxx @@ -25,7 +25,7 @@ namespace svl { * original-cased strings to upper-cased strings for case insensitive * operations. */ -class SVL_DLLPUBLIC StringPool +class SVL_DLLPUBLIC SharedStringPool { typedef boost::unordered_set<OUString, OUStringHash> StrHashType; typedef std::pair<StrHashType::iterator, bool> InsertResultType; @@ -38,8 +38,8 @@ class SVL_DLLPUBLIC StringPool public: - StringPool(); - StringPool( const CharClass* pCharClass ); + SharedStringPool(); + SharedStringPool( const CharClass* pCharClass ); /** * Intern a string object into the shared string pool. |