summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-04 16:26:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-04 16:26:23 +0100
commitc7bb99964bc29f146a8bc7f27f21a3b62a197b2d (patch)
treea18e4f70155263e9462272c64cbbb5a1c6c3721f /tools
parente05263e0f23af6f3fccf56f1a488baad7b3ee55f (diff)
Improve comment
...after c3ecef8067e274d017a344b4c8049cd5f49c6729 "INTEGRATION: CWS fwk01ea" had introduced INET_PROT_GENERIC back then. Change-Id: I156c1b52d02446168fa9202b3a65a0aad701f6ce
Diffstat (limited to 'tools')
-rw-r--r--tools/source/fsys/urlobj.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
index 6a3b2ef712c2..5e8ca4d0d614 100644
--- a/tools/source/fsys/urlobj.cxx
+++ b/tools/source/fsys/urlobj.cxx
@@ -746,7 +746,7 @@ bool INetURLObject::setAbsURIRef(OUString const & rTheAbsURIRef,
// hex4 = 1*4HEXDIG
// UCS4 = <any UCS4 character>
- // 1st Production (known scheme):
+ // 1st Production (known scheme; handled by the "if (pPrefix)" branch above):
// <one of the known schemes, ignoring case> ":" *UCS4
// 2nd Production (mailto):
// domain "@" domain
@@ -764,6 +764,9 @@ bool INetURLObject::setAbsURIRef(OUString const & rTheAbsURIRef,
// ALPHA ":" ["/" *UCS4]
// 9th Production (DOS file; FSysStyle::Dos only):
// ALPHA ":" ["\" *UCS4]
+ // 10th Production (any scheme; handled by the "m_eScheme = INetProtocol::Generic;" code
+ // after this else branch):
+ // <any scheme> ":" *UCS4
// For the 'non URL' file productions 6--9, the interpretation of
// the input as a (degenerate) URI is turned off, i.e., escape