diff options
author | Mark Page <aptitude@btconnect.com> | 2016-07-01 12:37:24 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-04 07:08:38 +0000 |
commit | 66576fc1f6cf34d658993fa5f92020bc29fe3f88 (patch) | |
tree | 3bead1a37104e9a4c25bcc2ad068bc81ec5d92ac /starmath | |
parent | tdf#43157 clean up OSL_ASSERT in connectivity (diff) | |
download | core-66576fc1f6cf34d658993fa5f92020bc29fe3f88.tar.gz core-66576fc1f6cf34d658993fa5f92020bc29fe3f88.zip |
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 'starmath')
-rw-r--r-- | starmath/source/smmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx index e394fe629f1e..e4d544569818 100644 --- a/starmath/source/smmod.cxx +++ b/starmath/source/smmod.cxx @@ -151,7 +151,7 @@ void SmModule::InitInterface_Impl() } SmModule::SmModule(SfxObjectFactory* pObjFact) : - SfxModule(ResMgr::CreateResMgr("sm"), pObjFact, nullptr) + SfxModule(ResMgr::CreateResMgr("sm"), {pObjFact}) { SetName("StarMath"); |