summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 15:58:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 16:30:34 +0200
commit44b3e56bb4a4df59f53447c4ca4d8e02fe926206 (patch)
tree71a9efde3a6a2a00688e8feb8e3086cb32eceb4f /include/svl
parent0b4965bcd7ec911951e7ca3a4cd48062843b2634 (diff)
Change INetProtocol to scoped enumeration
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/inethist.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx
index a21db8a4732e..6b4f9755011b 100644
--- a/include/svl/inethist.hxx
+++ b/include/svl/inethist.hxx
@@ -63,10 +63,10 @@ public:
*/
bool QueryProtocol (INetProtocol eProto) const
{
- return ((eProto == INET_PROT_FILE ) ||
- (eProto == INET_PROT_FTP ) ||
- (eProto == INET_PROT_HTTP ) ||
- (eProto == INET_PROT_HTTPS) );
+ return ((eProto == INetProtocol::FILE ) ||
+ (eProto == INetProtocol::FTP ) ||
+ (eProto == INetProtocol::HTTP ) ||
+ (eProto == INetProtocol::HTTPS) );
}
/** QueryUrl.