diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-08 15:18:16 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-10-08 15:48:12 -0400 |
commit | 3786609a153b7fa38393eb646557d241af2d3060 (patch) | |
tree | d2d33086cf318229a7893dc0958630834fc1ec16 /include/editeng | |
parent | a7ff6e0a3fc5fccad33f06ae9d4ec7019f9ae156 (diff) |
No more getIdentifier*() calls because they are not efficient.
They shall never be used.
Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editobj.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/editobj.hxx b/include/editeng/editobj.hxx index 3d1cccaed7b0..3f78126a75e3 100644 --- a/include/editeng/editobj.hxx +++ b/include/editeng/editobj.hxx @@ -51,6 +51,7 @@ struct Section; namespace svl { +class SharedString; class SharedStringPool; } @@ -85,8 +86,7 @@ public: */ void NormalizeString( svl::SharedStringPool& rPool ); - bool GetStringIDs( const svl::SharedStringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; - bool GetStringIDsIgnoreCase( const svl::SharedStringPool& rPool, std::vector<sal_uIntPtr>& rIDs ) const; + std::vector<svl::SharedString> GetSharedStrings() const; const SfxItemPool* GetPool() const; sal_uInt16 GetUserType() const; // For OutlinerMode, it can however not save in compatible format |