diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-30 12:22:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-30 13:14:32 +0200 |
commit | e00c87caa399d37426d839f5264a747c115d0b12 (patch) | |
tree | 42418f076529d02e5bbbb405a48c65aacc478ae3 /sw/inc/format.hxx | |
parent | 492675180203b3409074923d7993429237611f99 (diff) |
loplugin:makeshared in sw
Change-Id: I58d91e75ef96beaab7ec34df519ae3a376dce976
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93201
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/format.hxx')
-rw-r--r-- | sw/inc/format.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index 8a8c984ec58f..b0025beb7958 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -96,7 +96,7 @@ public: } SfxItemState GetItemState( sal_uInt16 nWhich, bool bSrchInParent = true, const SfxPoolItem **ppItem = nullptr ) const; - SfxItemState GetBackgroundState(std::shared_ptr<SvxBrushItem>& rItem) const; + SfxItemState GetBackgroundState(std::unique_ptr<SvxBrushItem>& rItem) const; virtual bool SetFormatAttr( const SfxPoolItem& rAttr ); virtual bool SetFormatAttr( const SfxItemSet& rSet ); virtual bool ResetFormatAttr( sal_uInt16 nWhich1, sal_uInt16 nWhich2 = 0 ); |