diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:32:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 18:33:37 +0200 |
commit | 54e87df11faf697d3b2666198a3d20b3ee091419 (patch) | |
tree | 8cfe316f012a4969ca6980fa6ac2fdb3a9424118 /svl/source/misc/inethist.cxx | |
parent | test color scale entries (diff) | |
download | core-54e87df11faf697d3b2666198a3d20b3ee091419.tar.gz core-54e87df11faf697d3b2666198a3d20b3ee091419.zip |
Change INetProtocol enumerators to CamelCase
...to avoid clashes with macros and poor warnings about hiding global FILE
Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
Diffstat (limited to 'svl/source/misc/inethist.cxx')
-rw-r--r-- | svl/source/misc/inethist.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx index 5c3f1a9ada6f..98a3009b215f 100644 --- a/svl/source/misc/inethist.cxx +++ b/svl/source/misc/inethist.cxx @@ -335,7 +335,7 @@ void INetURLHistory::NormalizeUrl_Impl (INetURLObject &rUrl) { switch (rUrl.GetProtocol()) { - case INetProtocol::FILE: + case INetProtocol::File: if (!INetURLObject::IsCaseSensitive()) { OUString aPath (rUrl.GetURLPath(INetURLObject::NO_DECODE).toAsciiLowerCase()); @@ -343,19 +343,19 @@ void INetURLHistory::NormalizeUrl_Impl (INetURLObject &rUrl) } break; - case INetProtocol::FTP: + case INetProtocol::Ftp: if (!rUrl.HasPort()) rUrl.SetPort (INETHIST_DEF_FTP_PORT); break; - case INetProtocol::HTTP: + case INetProtocol::Http: if (!rUrl.HasPort()) rUrl.SetPort (INETHIST_DEF_HTTP_PORT); if (!rUrl.HasURLPath()) rUrl.SetURLPath("/"); break; - case INetProtocol::HTTPS: + case INetProtocol::Https: if (!rUrl.HasPort()) rUrl.SetPort (INETHIST_DEF_HTTPS_PORT); if (!rUrl.HasURLPath()) |