summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorMark Page <aptitude@btconnect.com>2016-06-03 08:13:31 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-06-04 09:45:55 +0000
commit954f853c7b776719a6dfd5230d2be6ea3e948fcf (patch)
treefa20a4cca64c0c035cdf9a5a07867fdac245882f /sw/inc/unostyle.hxx
parent660b91b07788077cfee9ba309d45db6819c00781 (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/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 9b5909181463..43e438d2b71e 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -53,7 +53,6 @@ namespace sw
{
class XStyleFamily;
};
-typedef std::shared_ptr<SfxItemSet> SfxItemSet_Pointer_t;
class SwXStyleFamilies : public cppu::WeakImplHelper
<
@@ -202,7 +201,7 @@ class SwXAutoStyle : public cppu::WeakImplHelper
public SwClient
{
private:
- SfxItemSet_Pointer_t mpSet;
+ std::shared_ptr<SfxItemSet> mpSet;
IStyleAccess::SwAutoStyleFamily meFamily;
SwDoc& mrDoc;
@@ -210,7 +209,7 @@ private:
public:
- SwXAutoStyle( SwDoc* pDoc, SfxItemSet_Pointer_t pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
+ SwXAutoStyle( SwDoc* pDoc, std::shared_ptr<SfxItemSet> pInitSet, IStyleAccess::SwAutoStyleFamily eFam );
virtual ~SwXAutoStyle();
//XPropertySet