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:21:11 +0000 |
commit | ac0b2c90a9ae6a6442111b72113257fa16916d47 (patch) | |
tree | e97e888d0841ebc3d38c5c2fb2533b1587943a58 /oox | |
parent | 25b0442d98e69072c961e403f5f03433c7a05b54 (diff) |
Related: tdf#105707 PPTX import: decode document name from URL
Change-Id: I7448c48b9376a4b73b8a35034a73353981174823
Reviewed-on: https://gerrit.libreoffice.org/34136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-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 792e677b088a..2b2619acd749 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::DECODE_WITH_CHARSET), nullptr, RID_ERRCTX); OUString aWarning; aContext.GetString(ERRCODE_WARNING_MASK, aWarning); aWarning += ":\n"; |