summaryrefslogtreecommitdiff
path: root/oox/source/ppt/pptimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/pptimport.cxx')
-rw-r--r--oox/source/ppt/pptimport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx
index 6e3717fc9f10..6bd7c15b6831 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -147,7 +147,7 @@ bool PowerPointImport::importDocument()
INetURLObject aURL(getFileUrl());
SfxErrorContext aContext(ERRCTX_SFX_OPENDOC, aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset), nullptr, RID_ERRCTX);
OUString aWarning;
- aContext.GetString(ERRCODE_WARNING_MASK, aWarning);
+ aContext.GetString(ERRCODE_NONE.MakeWarning(), aWarning);
aWarning += ":\n";
static ResMgr* pResMgr = ResMgr::CreateResMgr("svx", Application::GetSettings().GetUILanguageTag());
aWarning += ResId(RID_SVXSTR_WARN_MISSING_SMARTART, *pResMgr).toString();