diff options
author | Mark Page <aptitude@btconnect.com> | 2016-06-03 08:13:31 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-04 09:45:55 +0000 |
commit | 954f853c7b776719a6dfd5230d2be6ea3e948fcf (patch) | |
tree | fa20a4cca64c0c035cdf9a5a07867fdac245882f /sw/inc/istyleaccess.hxx | |
parent | 660b91b07788077cfee9ba309d45db6819c00781 (diff) |
tdf#96099 Remove sfx std::shared_ptr typedefs
Removed SfxItemSet_Pointer_t and SfxStyleSheetIteratorPtr
Change-Id: Ibfa6a79809fdbbe2648dacc02625e620ceaf9bf0
Reviewed-on: https://gerrit.libreoffice.org/25851
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc/istyleaccess.hxx')
-rw-r--r-- | sw/inc/istyleaccess.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/istyleaccess.hxx b/sw/inc/istyleaccess.hxx index f961ea468f55..1f47ee8ecb82 100644 --- a/sw/inc/istyleaccess.hxx +++ b/sw/inc/istyleaccess.hxx @@ -36,17 +36,17 @@ public: virtual ~IStyleAccess() {} - virtual StylePool::SfxItemSet_Pointer_t getAutomaticStyle( const SfxItemSet& rSet, + virtual std::shared_ptr<SfxItemSet> getAutomaticStyle( const SfxItemSet& rSet, SwAutoStyleFamily eFamily ) = 0; - virtual void getAllStyles( std::vector<StylePool::SfxItemSet_Pointer_t> &rStyles, + virtual void getAllStyles( std::vector<std::shared_ptr<SfxItemSet>> &rStyles, SwAutoStyleFamily eFamily ) = 0; /** It's slow to iterate through a stylepool looking for a special name, but if the style has been inserted via "cacheAutomaticStyle" instead of "getAutomaticStyle", it's faster */ - virtual StylePool::SfxItemSet_Pointer_t getByName( const OUString& rName, + virtual std::shared_ptr<SfxItemSet> getByName( const OUString& rName, SwAutoStyleFamily eFamily ) = 0; /// insert the style to the pool and the cache (used during import) - virtual StylePool::SfxItemSet_Pointer_t cacheAutomaticStyle( const SfxItemSet& rSet, + virtual std::shared_ptr<SfxItemSet> cacheAutomaticStyle( const SfxItemSet& rSet, SwAutoStyleFamily eFamily ) = 0; /// To release the cached styles (shared_pointer!) virtual void clearCaches() = 0; |