diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optdict.cxx | 3 | ||||
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
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 <editeng/unolingu.hxx> #include <svx/dlgutil.hxx> +#include <svx/dialmgr.hxx> #include <sfx2/sfxuno.hxx> #include <svl/eitem.hxx> #include <com/sun/star/frame/XStorable.hpp> @@ -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, |