From abde31a2bc68302e1afafe1fcc3f5d85369010f8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 6 Jun 2016 10:16:23 +0200 Subject: Revert "Simplify sfx2 removing SfxModuleArr_Impl and dummy SfxModule flag" This reverts commit e319ef1171dab61fff2201f5c1470ca09894c395. Apparently, at some point, someone added a 'bool bDummy' param to SfxModule, but only updated 2 of the 5 callsites. Since we're passing in pointers here, at the other call sites, the bDummy param evaluated to 'true'. --- starmath/source/smmod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/source') diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx index 02a45263e2ff..1d8fa98f2ea8 100644 --- a/starmath/source/smmod.cxx +++ b/starmath/source/smmod.cxx @@ -159,7 +159,7 @@ void SmModule::InitInterface_Impl() } SmModule::SmModule(SfxObjectFactory* pObjFact) : - SfxModule(ResMgr::CreateResMgr("sm"), pObjFact, nullptr) + SfxModule(ResMgr::CreateResMgr("sm"), false, pObjFact, nullptr) { SetName("StarMath"); -- cgit