From 803215142efa6437515348f63bd70ffdcf5d45f1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Dec 2016 07:59:20 +0200 Subject: convert INetURLObject::EncodeMechanism to scoped enum Change-Id: I50ea17c7779c7b5cacddf548f1773fd7d6c8bade --- cui/source/dialogs/hldocntp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') 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; -- cgit