summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 07:59:20 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:07:52 -0500
commit6b631a02d36aa09f7c06793e8b4482d3b67ab258 (patch)
treec69d5d75274bf3943f98cdb5a661053ece11c1dd /oox
parent32e74cdd3ff79fbbc21e1edba55145cc43c5be39 (diff)
convert INetURLObject::EncodeMechanism to scoped enum
(cherry picked from commit 803215142efa6437515348f63bd70ffdcf5d45f1) (cherry picked from commit 736cd289d4cdb0db61d92134bcc9d48aa7e79613) Change-Id: I50ea17c7779c7b5cacddf548f1773fd7d6c8bade
Diffstat (limited to 'oox')
-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 920aa43e60fc..f76805235a88 100644
--- a/oox/source/ppt/pptimport.cxx
+++ b/oox/source/ppt/pptimport.cxx
@@ -105,7 +105,7 @@ bool PowerPointImport::importDocument()
{
// Construct a warning message.
INetURLObject aURL(getFileUrl());
- SfxErrorContext aContext(ERRCTX_SFX_OPENDOC, aURL.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET), 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";