summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-03 12:12:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-03 12:23:23 +0100
commit56b237d99347a7a8501fcc045fd9fe856bfc0b4b (patch)
tree35a703ae246773c4c2863725a41149851d7b11a0 /cui
parent0884f14bbfcb3479933f0c5cfcec694ee9e78f52 (diff)
these errors resources are in svx, not cui
Change-Id: Ic11296b2536f1c90361bb8d31c25a73dd3e65e8e
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optdict.cxx3
-rw-r--r--cui/source/tabpages/backgrnd.cxx2
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,