From 6eb3d37fdc75537aa94144eef97493ec6192792f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 28 May 2021 09:53:29 +0200 Subject: no need to allocate SfxStyleFamilies on the heap Change-Id: Ibedb36dec14c61927ef594ddf47fda94728530a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116319 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/inc/sdmod.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/inc/sdmod.hxx') diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx index 218913a1b69a..5e21a32ca07a 100644 --- a/sd/inc/sdmod.hxx +++ b/sd/inc/sdmod.hxx @@ -114,7 +114,7 @@ public: virtual std::unique_ptr CreateItemSet( sal_uInt16 nId ) override; virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) override; virtual std::unique_ptr CreateTabPage( sal_uInt16 nId, weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ) override; - virtual std::unique_ptr CreateStyleFamilies() override; + virtual std::optional CreateStyleFamilies() override; SdExtPropertySetInfoCache gImplImpressPropertySetInfoCache; SdExtPropertySetInfoCache gImplDrawPropertySetInfoCache; -- cgit