From 50151db9f740afee7f11a10cc5c61b437bf87caf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 5 Dec 2016 09:27:09 +0200 Subject: convert FSysStyle to o3tl::typed_flags Change-Id: I58a63a0e6f619442f21827064644ecd8ca57b8ff --- svl/source/misc/urihelper.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svl') diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx index 4673a8907079..50c8b79b7b48 100644 --- a/svl/source/misc/urihelper.cxx +++ b/svl/source/misc/urihelper.cxx @@ -60,7 +60,7 @@ OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef, INetURLObject::DecodeMechanism eDecodeMechanism, rtl_TextEncoding eCharset, bool bRelativeNonURIs, - INetURLObject::FSysStyle eStyle) + FSysStyle eStyle) { // Backwards compatibility: if( rTheRelURIRef.startsWith("#") ) @@ -495,7 +495,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, // Productions 1--4 use the given eMechanism and eCharset. Productions 5--9 // use EncodeMechanism::All. - // Productions 6--9 are only applicable if the FSYS_DOS bit is set in + // Productions 6--9 are only applicable if the FSysStyle::Dos bit is set in // eStyle. bool bBoundary1 = true; @@ -528,7 +528,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, { INetURLObject aUri(rText.copy(nPos, nUriEnd - nPos), INetProtocol::File, eMechanism, eCharset, - INetURLObject::FSYS_DETECT); + FSysStyle::Detect); if (!aUri.HasError()) { rBegin = nPos; @@ -632,7 +632,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, INetProtocol::File, INetURLObject::EncodeMechanism::All, RTL_TEXTENCODING_UTF8, - INetURLObject::FSYS_DOS); + FSysStyle::Dos); if (!aUri.HasError()) { rBegin = nPos; @@ -661,7 +661,7 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, INetProtocol::File, INetURLObject::EncodeMechanism::All, RTL_TEXTENCODING_UTF8, - INetURLObject::FSYS_DOS); + FSysStyle::Dos); if (!aUri.HasError()) { rBegin = nPos; -- cgit