diff options
author | Andras Timar <andras.timar@collabora.com> | 2017-02-10 21:26:17 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-13 08:14:58 +0000 |
commit | 1e253b2ace59e0befce8fe22a0d5afd40b313d4f (patch) | |
tree | 90d5d3a0d786000d529efc8d1101d35075576d75 /oox | |
parent | a512feac63b43ab87411f8579169d85af80acb7f (diff) |
Related: tdf#105707 PPTX import: decode document name from URL
Change-Id: Ic4825549c6fef1a609a753a10f6224cbcd69b7fc
Reviewed-on: https://gerrit.libreoffice.org/34135
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ppt/pptimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index 043d01412069..6d54520f7436 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -104,7 +104,7 @@ bool PowerPointImport::importDocument() { // Construct a warning message. INetURLObject aURL(getFileUrl()); - SfxErrorContext aContext(ERRCTX_SFX_OPENDOC, aURL.getName(INetURLObject::LAST_SEGMENT), nullptr, RID_ERRCTX); + 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); aWarning += ":\n"; |