diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-08-19 18:31:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-22 11:08:15 +0200 |
commit | 158595543053c158a9bcb95f679e7b8a3c2e4e89 (patch) | |
tree | d15d673725cc0f4644034957b8e521875eea51e4 /sw/source/uibase/app | |
parent | 87848afb9981234071efa6e2c061e1e55a712654 (diff) |
Convert ErrCode area to scoped enum
Change-Id: Ifa365bbac3c7eb21da9381ec8bb3be6b6785016b
Reviewed-on: https://gerrit.libreoffice.org/41402
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r-- | sw/source/uibase/app/swmodule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx index 636098cbd202..962f7e7f14f1 100644 --- a/sw/source/uibase/app/swmodule.cxx +++ b/sw/source/uibase/app/swmodule.cxx @@ -172,8 +172,8 @@ SwModule::SwModule( SfxObjectFactory* pWebFact, SetName( "StarWriter" ); SvxErrorHandler::ensure(); m_pErrorHandler = new SfxErrorHandler( RID_SW_ERRHDL, - ErrCode(ERRCODE_AREA_SW), - ErrCode(ERRCODE_AREA_SW_END), + ErrCodeArea::Sw, + ErrCodeArea::Sw, GetResLocale() ); m_pModuleConfig = new SwModuleOptions; |