summaryrefslogtreecommitdiff
path: root/include/sfx2/module.hxx
diff options
context:
space:
mode:
authorMark Page <aptitude@btconnect.com>2016-07-01 12:37:24 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-07-04 07:08:38 +0000
commit66576fc1f6cf34d658993fa5f92020bc29fe3f88 (patch)
tree3bead1a37104e9a4c25bcc2ad068bc81ec5d92ac /include/sfx2/module.hxx
parent3cc30343bef48c7f19a3b6774cfd500e00258f76 (diff)
SfxModule to use initializer_list instead of variadic arguments
The compiler can perform type checking with initializer lists Change-Id: I1d26b56a3a2b67fe719f33d758ca9b0c95ebd4d1 Reviewed-on: https://gerrit.libreoffice.org/26852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 72f25f5af782..2761cce2e1e9 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -69,7 +69,7 @@ private:
public:
- SfxModule( ResMgr* pMgrP, SfxObjectFactory* pFactoryP, ... );
+ SfxModule( ResMgr* pMgrP, std::initializer_list<SfxObjectFactory*> pFactoryList);
virtual ~SfxModule();
ResMgr* GetResMgr();