diff options
author | Andras Timar <andras.timar@collabora.com> | 2017-02-10 21:27:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-02-13 08:28:34 +0000 |
commit | 095d781218d1b13764566c5b840e866758221dca (patch) | |
tree | 8f19f50f9eabc08919030ee0f79e96d372edbf5f | |
parent | c11b40c5eb32a8b3bb78621983d70d43d6c9b276 (diff) |
Related: tdf#105707 PPTX import: decode document name from URL
Change-Id: I7448c48b9376a4b73b8a35034a73353981174823
Reviewed-on: https://gerrit.libreoffice.org/34137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-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 7242e093268e..9bd098f0366e 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -103,7 +103,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::DECODE_WITH_CHARSET), nullptr, RID_ERRCTX); OUString aWarning; aContext.GetString(ERRCODE_WARNING_MASK, aWarning); aWarning += ":\n"; |