From 56b237d99347a7a8501fcc045fd9fe856bfc0b4b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 3 May 2017 12:12:26 +0100 Subject: these errors resources are in svx, not cui Change-Id: Ic11296b2536f1c90361bb8d31c25a73dd3e65e8e --- cui/source/options/optdict.cxx | 3 ++- cui/source/tabpages/backgrnd.cxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'cui/source') diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 6ecbce35b8fe..f6896bdc5e16 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -179,7 +180,7 @@ IMPL_LINK_NOARG(SvxNewDictionaryDialog, OKHdl_Impl, Button*, void) // error: couldn't create new dictionary SfxErrorContext aContext( ERRCTX_SVX_LINGU_DICTIONARY, OUString(), - this, RID_SVXERRCTX, &CUI_MGR() ); + this, RID_SVXERRCTX, &DIALOG_MGR() ); ErrorHandler::HandleError( *new StringErrorInfo( ERRCODE_SVX_LINGU_DICT_NOTWRITEABLE, sDict ) ); diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index f129aea0a1ce..2f332aee4232 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -971,7 +971,7 @@ void SvxBackgroundTabPage::RaiseLoadError_Impl() OUString(), this, RID_SVXERRCTX, - &CUI_MGR() ); + &DIALOG_MGR() ); ErrorHandler::HandleError( *new StringErrorInfo( ERRCODE_SVX_GRAPHIC_NOTREADABLE, -- cgit