summaryrefslogtreecommitdiff
path: root/include/sfx2/module.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 14:24:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-21 20:08:07 +0200
commitec01d43e0a8fa560d7cd8c76c0d609b18a60cddb (patch)
treefe3881f20236327e07cf56a3ba1bd1898c047d93 /include/sfx2/module.hxx
parentdf157d5291ba3531d2c79539addfd0dbff48ac67 (diff)
pass SfxChildWinFactory around by value
no need to allocate on heap Change-Id: I7410a6c9cb434b18ed6f7ae1dc0ccea34151921c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119331 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/module.hxx')
-rw-r--r--include/sfx2/module.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index 13cf89769703..d1ddf87128c4 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -74,7 +74,7 @@ public:
SfxSlotPool* GetSlotPool() const;
void RegisterToolBoxControl(const SfxTbxCtrlFactory&);
- void RegisterChildWindow(std::unique_ptr<SfxChildWinFactory>);
+ void RegisterChildWindow(const SfxChildWinFactory&);
void RegisterStatusBarControl(const SfxStbCtrlFactory&);
virtual std::unique_ptr<SfxTabPage> CreateTabPage( sal_uInt16 nId,