summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot
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 /extensions/source/abpilot
parent0b4965bcd7ec911951e7ca3a4cd48062843b2634 (diff)
Change INetProtocol to scoped enumeration
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r--extensions/source/abpilot/abpfinalpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index 337b7329fbc6..55da306eac9d 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -87,7 +87,7 @@ namespace abp
AddressSettings& rSettings = getSettings();
INetURLObject aURL( rSettings.sDataSourceName );
- if( aURL.GetProtocol() == INET_PROT_NOT_VALID )
+ if( aURL.GetProtocol() == INetProtocol::NOT_VALID )
{
OUString sPath = SvtPathOptions().GetWorkPath();
sPath += "/";
@@ -102,7 +102,7 @@ namespace abp
aURL.SetURL(sPath);
}
- OSL_ENSURE( aURL.GetProtocol() != INET_PROT_NOT_VALID ,"No valid file name!");
+ OSL_ENSURE( aURL.GetProtocol() != INetProtocol::NOT_VALID ,"No valid file name!");
rSettings.sDataSourceName = aURL.GetMainURL( INetURLObject::NO_DECODE );
m_pLocationController->setURL( rSettings.sDataSourceName );
OUString sName = aURL.getName( );