summaryrefslogtreecommitdiff
path: root/sfx2/source/inet/inettbc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/inet/inettbc.cxx')
-rw-r--r--sfx2/source/inet/inettbc.cxx4
1 files changed, 2 insertions, 2 deletions
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() );
}