summaryrefslogtreecommitdiff
path: root/cui/source
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-02 11:12:38 -0500
commit736cd289d4cdb0db61d92134bcc9d48aa7e79613 (patch)
tree2ff75277ed2b151349f09fa564762203148e48de /cui/source
parent7545466b43175bbf3c850a82e2e65aa1a47d8005 (diff)
convert INetURLObject::EncodeMechanism to scoped enum
Change-Id: I50ea17c7779c7b5cacddf548f1773fd7d6c8bade (cherry picked from commit 803215142efa6437515348f63bd70ffdcf5d45f1)
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/hldocntp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index c5133396258f..1c61efb91c20 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -70,7 +70,7 @@ bool SvxHyperlinkNewDocTp::ImplGetURLObject( const OUString& rPath, const OUStri
INetURLObject base(rBase);
base.setFinalSlash();
aURLObject = base.smartRel2Abs(
- rPath, wasAbs, true, INetURLObject::ENCODE_ALL,
+ rPath, wasAbs, true, INetURLObject::EncodeMechanism::All,
RTL_TEXTENCODING_UTF8, true);
}
bIsValidURL = aURLObject.GetProtocol() != INetProtocol::NotValid;