diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/sderror.hxx | 6 | ||||
-rw-r--r-- | sd/source/ui/app/sdmod.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/sderror.hxx b/sd/inc/sderror.hxx index 2be4c8c634b3..be444100f80d 100644 --- a/sd/inc/sderror.hxx +++ b/sd/inc/sderror.hxx @@ -23,11 +23,11 @@ #include <vcl/errcode.hxx> // Import errors -#define ERR_FORMAT_ROWCOL ErrCode(ERRCODE_AREA_SD | ERRCODE_CLASS_READ | 1) -#define ERR_FORMAT_FILE_ROWCOL ErrCode(ERRCODE_AREA_SD | ERRCODE_CLASS_READ | 2) +#define ERR_FORMAT_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 1) +#define ERR_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_CLASS_READ | 2) // Warnings -#define WARN_FORMAT_FILE_ROWCOL ErrCode(ERRCODE_AREA_SD | ERRCODE_WARNING_MASK | ERRCODE_CLASS_READ | 100) +#define WARN_FORMAT_FILE_ROWCOL ErrCode(ErrCodeArea::Sd, ERRCODE_WARNING_MASK | ERRCODE_CLASS_READ | 100) #endif diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx index cbe92e563b29..958d81a85c89 100644 --- a/sd/source/ui/app/sdmod.cxx +++ b/sd/source/ui/app/sdmod.cxx @@ -82,7 +82,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 ) pSearchItem->SetAppFlag(SvxSearchApp::DRAW); StartListening( *SfxGetpApp() ); SvxErrorHandler::ensure(); - mpErrorHdl = new SfxErrorHandler(RID_SD_ERRHDL, ErrCode(ERRCODE_AREA_SD), ErrCode(ERRCODE_AREA_SD_END), GetResLocale()); + mpErrorHdl = new SfxErrorHandler(RID_SD_ERRHDL, ErrCodeArea::Sd, ErrCodeArea::Sd, GetResLocale()); // Create a new ref device and (by calling SetReferenceDevice()) // set its resolution to 600 DPI. This leads to a visually better |