diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-02 14:21:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 10:07:00 +0200 |
commit | 5ad5f5ec62cc259f054b7343d7b4edce372e95e2 (patch) | |
tree | 3a7dc8956afc8841d7c7a30e37a7674496ce1557 /sw/inc/swmodule.hxx | |
parent | 2bffccf7af58a4c076c597f847eed2068574e704 (diff) |
make CreateStyleFamilies return std::unique_ptr
Change-Id: Ibb7bec9ede8045a6cea42c02f61f14ad36d2b434
Reviewed-on: https://gerrit.libreoffice.org/53730
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swmodule.hxx')
-rw-r--r-- | sw/inc/swmodule.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index 8539f7fd479c..4cca346229eb 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -226,7 +226,7 @@ public: virtual std::unique_ptr<SfxItemSet> CreateItemSet( sal_uInt16 nId ) override; virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) override; virtual VclPtr<SfxTabPage> CreateTabPage( sal_uInt16 nId, TabPageParent pParent, const SfxItemSet& rSet ) override; - virtual SfxStyleFamilies* CreateStyleFamilies() override; + virtual std::unique_ptr<SfxStyleFamilies> CreateStyleFamilies() override; // Pool is created here and set at SfxShell. void InitAttrPool(); |