From 54e87df11faf697d3b2666198a3d20b3ee091419 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 2 Apr 2015 18:32:36 +0200 Subject: Change INetProtocol enumerators to CamelCase ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050 --- sfx2/source/inet/inettbc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/inet') diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 7e433b5959e1..29a5168987f0 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -85,7 +85,7 @@ void SfxURLToolBoxControl_Impl::OpenURL( const OUString& rName, bool /*bNew*/ ) OUString aOptions; INetURLObject aObj( rName ); - if ( aObj.GetProtocol() == INetProtocol::NOT_VALID ) + if ( aObj.GetProtocol() == INetProtocol::NotValid ) { OUString aBaseURL = GetURLBox()->GetBaseURL(); aName = SvtURLBox::ParseSmart( rName, aBaseURL, SvtPathOptions().GetWorkPath() ); @@ -247,7 +247,7 @@ void SfxURLToolBoxControl_Impl::StateChanged OUString aRep( pURL->GetValue() ); INetURLObject aURL( aRep ); INetProtocol eProt = aURL.GetProtocol(); - if ( eProt == INetProtocol::FILE ) + if ( eProt == INetProtocol::File ) { pURLBox->SetText( aURL.PathToFileName() ); } -- cgit