summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-20 16:08:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 08:40:33 +0200
commit70b7bbc41299b65560f3339adc6a15fa9152f635 (patch)
tree054d20d5e902f78c7f936e2f52544ea4aeb0c6c3 /starmath/inc
parent8286014d9d3b96cd69e462a19d666488f66a89c9 (diff)
can pass SfxItemSet around by value in SfxShell
Change-Id: I80ee25c56da437d778e11f2dab3d07845ebd9597 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119274 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/smmod.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/smmod.hxx b/starmath/inc/smmod.hxx
index b1eabcbc39fb..ca1fbb7c93e2 100644
--- a/starmath/inc/smmod.hxx
+++ b/starmath/inc/smmod.hxx
@@ -93,7 +93,7 @@ public:
VirtualDevice & GetDefaultVirtualDev();
//virtual methods for options dialog
- virtual std::unique_ptr<SfxItemSet> CreateItemSet( sal_uInt16 nId ) override;
+ virtual std::optional<SfxItemSet> CreateItemSet( sal_uInt16 nId ) override;
virtual void ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) override;
virtual std::unique_ptr<SfxTabPage> CreateTabPage( sal_uInt16 nId, weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rSet ) override;
};