From 31ea60c882cd9e0ce042f2d2945c711bffc93f18 Mon Sep 17 00:00:00 2001 From: Alexander Wilms Date: Tue, 25 Feb 2014 20:44:28 +0100 Subject: Remove visual noise from svl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib914ec8d161e24f4e3e1fb8e7684a780d3ae6209 Reviewed-on: https://gerrit.libreoffice.org/8319 Reviewed-by: Björn Michaelsen Tested-by: Björn Michaelsen --- svl/source/misc/adrparse.cxx | 8 +++---- svl/source/misc/inettype.cxx | 8 +++---- svl/source/misc/mediatyp.src | 8 +++---- svl/source/misc/strmadpt.cxx | 20 ++++++++--------- svl/source/misc/urihelper.cxx | 50 +++++++++++++++++++++---------------------- 5 files changed, 47 insertions(+), 47 deletions(-) (limited to 'svl/source/misc') diff --git a/svl/source/misc/adrparse.cxx b/svl/source/misc/adrparse.cxx index e9e297cf565c..68dc841e840a 100644 --- a/svl/source/misc/adrparse.cxx +++ b/svl/source/misc/adrparse.cxx @@ -161,9 +161,9 @@ inline void SvAddressParser_Impl::addTokenToRealName() } } -// + // SvAddressParser_Impl -// + bool SvAddressParser_Impl::readToken() { @@ -718,9 +718,9 @@ SvAddressParser_Impl::SvAddressParser_Impl(SvAddressParser * pParser, } } -// + // SvAddressParser -// + SvAddressParser::SvAddressParser(const OUString& rInput) : m_bHasFirst(false) diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index 03f59928f4b4..310d5088efd5 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -419,9 +419,9 @@ MediaTypeEntry const aStaticExtensionMap[] } -// + // Registration -// + Registration::~Registration() { @@ -523,9 +523,9 @@ INetContentType Registration::GetContentType4Extension(OUString const & rExtensi : CONTENT_TYPE_UNKNOWN; } -// + // seekEntry -// + namespace { diff --git a/svl/source/misc/mediatyp.src b/svl/source/misc/mediatyp.src index 9b82f47506b8..a7f5b8a88bc2 100644 --- a/svl/source/misc/mediatyp.src +++ b/svl/source/misc/mediatyp.src @@ -16,11 +16,11 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -//============================================================================ -// + + // Internet Media Type Presentations -// -//============================================================================ + + #include diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx index d4f3986e4e1e..cb2187e817ae 100644 --- a/svl/source/misc/strmadpt.cxx +++ b/svl/source/misc/strmadpt.cxx @@ -131,9 +131,9 @@ inline sal_uInt32 SvDataPipe_Impl::getReadPosition() const - m_pReadPage->m_aBuffer); } -// + // SvOutputStreamOpenLockBytes -// + TYPEINIT1(SvOutputStreamOpenLockBytes, SvOpenLockBytes) @@ -241,9 +241,9 @@ void SvOutputStreamOpenLockBytes::Terminate() } } -// + // SvLockBytesInputStream -// + // virtual uno::Any SAL_CALL SvLockBytesInputStream::queryInterface(uno::Type const & @@ -419,9 +419,9 @@ sal_Int64 SAL_CALL SvLockBytesInputStream::getLength() return aStat.nSize; } -// + // SvInputStream -// + bool SvInputStream::open() { @@ -667,9 +667,9 @@ void SvInputStream::RemoveMark(sal_uLong nPos) m_pPipe->removeMark(nPos); } -// + // SvOutputStream -// + // virtual sal_uLong SvOutputStream::GetData(void *, sal_uLong) @@ -770,9 +770,9 @@ sal_uInt16 SvOutputStream::IsA() const return 0; } -// + // SvDataPipe_Impl -// + bool SvDataPipe_Impl::remove(Page * pPage) { diff --git a/svl/source/misc/urihelper.cxx b/svl/source/misc/urihelper.cxx index 402e90b8f4b2..1322c30101ef 100644 --- a/svl/source/misc/urihelper.cxx +++ b/svl/source/misc/urihelper.cxx @@ -46,9 +46,9 @@ using namespace com::sun::star; -// + // SmartRel2Abs -// + OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef, OUString const & rTheRelURIRef, @@ -104,9 +104,9 @@ OUString URIHelper::SmartRel2Abs(INetURLObject const & rTheBaseURIRef, return aAbsURIRef.GetMainURL(eDecodeMechanism, eCharset); } -// + // SetMaybeFileHdl -// + namespace { struct MaybeFileHdl : public rtl::Static< Link, MaybeFileHdl > {}; } @@ -115,9 +115,9 @@ void URIHelper::SetMaybeFileHdl(Link const & rTheMaybeFileHdl) MaybeFileHdl::get() = rTheMaybeFileHdl; } -// + // GetMaybeFileHdl -// + Link URIHelper::GetMaybeFileHdl() { @@ -284,9 +284,9 @@ OUString URIHelper::simpleNormalizedMakeRelative( return rel.is() ? rel->getUriReference() : uriReference; } -// + // FindFirstURLInText -// + namespace { @@ -447,34 +447,34 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, // Search for the first substring of [rBegin..rEnd[ that matches any of the // following productions (for which the appropriate style bit is set in // eStyle, if applicable). - // + // 1st Production (known scheme): // \B1 ":" 1*wchar ["#" 1*wchar] // \B1 - // + // 2nd Production (file): // \B1 "FILE:" 1*(wchar / "\" / "|") ["#" 1*wchar] \B1 - // + // 3rd Production (ftp): // \B1 "FTP" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1 - // + // 4th Production (http): // \B1 "WWW" 2*("." label) ["/" *wchar] ["#" 1*wchar] \B1 - // + // 5th Production (mailto): // \B2 local-part "@" domain \B1 - // + // 6th Production (UNC file): // \B1 "\\" domain "\" *(wchar / "\") \B1 - // + // 7th Production (DOS file): // \B1 ALPHA ":\" *(wchar / "\") \B1 - // + // 8th Production (Unix-like DOS file): // \B1 ALPHA ":/" *(wchar / "\") \B1 - // + // The productions use the following auxiliary rules. - // + // local-part = atom *("." atom) // atom = 1*(alphanum / "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" // / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" @@ -484,27 +484,27 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, // alphanum = ALPHA / DIGIT // wchar = - // + // "\B1" (boundary 1) stands for the beginning or end of the block of text, // or a character that is neither (a) a letter or digit (according to // rCharClass), nor (b) any of "$", "%", "&", "-", "/", "@", or "\". // (FIXME: What was the rationale for this set of punctuation characters?) - // + // "\B2" (boundary 2) stands for the beginning or end of the block of text, // or a character that is neither (a) a letter or digit (according to // rCharClass), nor (b) any of "!", "#", "$", "%", "&", "'", "*", "+", "-", // "/", "=", "?", "@", "^", "_", "`", "{", "|", "}", or "~" (i.e., an RFC // 822 character, or "@" from \B1's set above). - // + // Productions 1--4, and 6--8 try to find a maximum-length match, but they // stop at the first character that is a "\B1" character which is // only followed by "\B1" characters (taking "\" and "|" characters into // account appropriately). Production 5 simply tries to find a maximum- // length match. - // + // Productions 1--4 use the given eMechanism and eCharset. Productions 5--9 // use ENCODE_ALL. - // + // Productions 6--9 are only applicable if the FSYS_DOS bit is set in // eStyle. @@ -727,9 +727,9 @@ OUString URIHelper::FindFirstURLInText(OUString const & rText, return OUString(); } -// + // removePassword -// + OUString URIHelper::removePassword(OUString const & rURI, INetURLObject::EncodeMechanism eEncodeMechanism, -- cgit