diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-25 15:14:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-26 13:10:49 +0100 |
commit | f77250f3159ec58f8d7d2770496fac64536b4f6f (patch) | |
tree | 5e772d3de6e17710e863f1d1435a94504e6ec001 /svl/source/items | |
parent | 1c8df3e58940bf6abdbda0b2f932a5990b577fae (diff) |
loplugin:refcounting in svl
Change-Id: I0009464121faf6dd36793b031d892f492b56187c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111544
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/style.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 5b430259de2a..a053044b7de9 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -615,7 +615,7 @@ rtl::Reference<SfxStyleSheetBase> SfxStyleSheetBasePool::Create return new SfxStyleSheetBase( rName, this, eFam, mask ); } -SfxStyleSheetBase* SfxStyleSheetBasePool::Create( const SfxStyleSheetBase& r ) +rtl::Reference<SfxStyleSheetBase> SfxStyleSheetBasePool::Create( const SfxStyleSheetBase& r ) { return new SfxStyleSheetBase( r ); } |