diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-02 14:06:13 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-04 19:15:22 -0400 |
commit | 46ca6ab1fe69a29b75c3b9c3a04af27b5af63fd3 (patch) | |
tree | fb4b4b41ced116739af004a80ed6f33e60670832 /include/svl | |
parent | 2c96a2887360f3b152b369a745440d4b503aa70d (diff) |
The map actualy needs to store OUString to have it ref-counted automatically.
Change-Id: Iff6fcf3aba73f2d06ac0c885b39e69ac0febc49f
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/stringpool.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/stringpool.hxx b/include/svl/stringpool.hxx index 4436efeb2d81..d2eca12e9609 100644 --- a/include/svl/stringpool.hxx +++ b/include/svl/stringpool.hxx @@ -29,7 +29,7 @@ class SVL_DLLPUBLIC StringPool { typedef boost::unordered_set<OUString, OUStringHash> StrHashType; typedef std::pair<StrHashType::iterator, bool> InsertResultType; - typedef boost::unordered_map<const rtl_uString*, const rtl_uString*> StrIdMapType; + typedef boost::unordered_map<const rtl_uString*, OUString> StrIdMapType; StrHashType maStrPool; StrHashType maStrPoolUpper; |