summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-03-02 09:23:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-03 09:33:29 +0100
commitfd91c4937b942f7e28a1b6a30afddfb2abadfcf1 (patch)
tree87dc9646376b143931e5dd68aff06497e981cb2a /sd/inc
parenta8ee791b189186332296e6d5462c93ef350dc01d (diff)
loplugin:refcounting in sd
Change-Id: I5e259fc7028b75910efd6a99ed445690a9c496ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111803 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/stlsheet.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index dc32df9fa5eb..b6b693d4f937 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -72,7 +72,7 @@ public:
static OUString GetFamilyString( SfxStyleFamily eFamily );
- static SdStyleSheet* CreateEmptyUserStyle( SfxStyleSheetBasePool& rPool, SfxStyleFamily eFamily );
+ static rtl::Reference<SdStyleSheet> CreateEmptyUserStyle( SfxStyleSheetBasePool& rPool, SfxStyleFamily eFamily );
//Broadcast that a SdStyleSheet has changed, taking into account outline sublevels
//which need to be explicitly broadcast as changing if their parent style was