summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/scmod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r--sc/source/ui/app/scmod.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 60324562b4d1..db43a50e0268 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -176,8 +176,8 @@ ScModule::ScModule( SfxObjectFactory* pFact ) :
// Between OfficeApplication::Init and ScGlobal::Init
SvxErrorHandler::ensure();
pErrorHdl = new SfxErrorHandler( RID_ERRHDLSC,
- ERRCODE_AREA_SC,
- ERRCODE_AREA_APP2-1,
+ ErrCode(ERRCODE_AREA_SC),
+ ErrCode(ERRCODE_AREA_APP2-1),
GetResMgr() );
aSpellIdle.SetPriority(TaskPriority::LOWER);