summaryrefslogtreecommitdiff
path: root/starmath/source/smmod.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-06 10:16:23 +0200
committerNoel Grandin <noel@peralex.com>2016-06-06 10:16:23 +0200
commitabde31a2bc68302e1afafe1fcc3f5d85369010f8 (patch)
tree2a62afea93827f2822c194bf2c0706cab37eaf01 /starmath/source/smmod.cxx
parent9f0ed9d8ebdc31fe546ba280966481a0b2a6994e (diff)
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'.
Diffstat (limited to 'starmath/source/smmod.cxx')
-rw-r--r--starmath/source/smmod.cxx2
1 files changed, 1 insertions, 1 deletions
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");