cui/source/options/optdict.cxx | 3 ++- cui/source/tabpages/backgrnd.cxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
New commits: commit 56b237d99347a7a8501fcc045fd9fe856bfc0b4b Author: Caolán McNamara <[email protected]> Date: Wed May 3 12:12:26 2017 +0100 these errors resources are in svx, not cui Change-Id: Ic11296b2536f1c90361bb8d31c25a73dd3e65e8e 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,
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
