summaryrefslogtreecommitdiff
path: root/linguistic/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 07:59:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 12:49:02 +0200
commit803215142efa6437515348f63bd70ffdcf5d45f1 (patch)
treea665854bb7d11f410e3b1e5596e16ae335afadc5 /linguistic/source
parent9d3366c4c62efa4260c1b11d4b53d5982d6fac48 (diff)
convert INetURLObject::EncodeMechanism to scoped enum
Change-Id: I50ea17c7779c7b5cacddf548f1773fd7d6c8bade
Diffstat (limited to 'linguistic/source')
-rw-r--r--linguistic/source/convdiclist.cxx2
-rw-r--r--linguistic/source/misc2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 9d0e6fe8a668..4c77c0018a28 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -67,7 +67,7 @@ OUString GetConvDicMainURL( const OUString &rDicName, const OUString &rDirectory
INetURLObject aURLObj;
aURLObj.SetSmartProtocol( INetProtocol::File );
aURLObj.SetSmartURL( rDirectoryURL );
- aURLObj.Append( aFullDicName, INetURLObject::ENCODE_ALL );
+ aURLObj.Append( aFullDicName, INetURLObject::EncodeMechanism::All );
DBG_ASSERT(!aURLObj.HasError(), "invalid URL");
if (aURLObj.HasError())
return OUString();
diff --git a/linguistic/source/misc2.cxx b/linguistic/source/misc2.cxx
index bf99fdcb3c69..cf893f397015 100644
--- a/linguistic/source/misc2.cxx
+++ b/linguistic/source/misc2.cxx
@@ -157,7 +157,7 @@ OUString GetWritableDictionaryURL( const OUString &rDicName )
aURLObj.SetSmartProtocol( INetProtocol::File );
aURLObj.SetSmartURL( aDirName );
DBG_ASSERT(!aURLObj.HasError(), "lng : invalid URL");
- aURLObj.Append( rDicName, INetURLObject::ENCODE_ALL );
+ aURLObj.Append( rDicName, INetURLObject::EncodeMechanism::All );
DBG_ASSERT(!aURLObj.HasError(), "lng : invalid URL");
// NO_DECODE preserves the escape sequences that might be included in aDirName