summaryrefslogtreecommitdiff
path: root/svx
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 /svx
parent9d3366c4c62efa4260c1b11d4b53d5982d6fac48 (diff)
convert INetURLObject::EncodeMechanism to scoped enum
Change-Id: I50ea17c7779c7b5cacddf548f1773fd7d6c8bade
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/imapdlg.cxx2
-rw-r--r--svx/source/dialog/langbox.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx
index 8afc2c14e5f9..49c124c27f9a 100644
--- a/svx/source/dialog/imapdlg.cxx
+++ b/svx/source/dialog/imapdlg.cxx
@@ -698,7 +698,7 @@ IMPL_LINK_NOARG(SvxIMapDlg, URLLoseFocusHdl, Control&, void)
{
OUString aBase = GetBindings().GetDispatcher()->GetFrame()->GetObjectShell()->GetMedium()->GetBaseURL();
aNewInfo.aMarkURL = ::URIHelper::SmartRel2Abs( INetURLObject(aBase), aURLText, URIHelper::GetMaybeFileHdl(), true, false,
- INetURLObject::WAS_ENCODED,
+ INetURLObject::EncodeMechanism::WasEncoded,
INetURLObject::DECODE_UNAMBIGUOUS );
}
else
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx
index ad29e4c7e6ca..d746aef1a1fa 100644
--- a/svx/source/dialog/langbox.cxx
+++ b/svx/source/dialog/langbox.cxx
@@ -45,7 +45,7 @@ OUString GetDicInfoStr( const OUString& rName, const sal_uInt16 nLang, bool bNeg
{
INetURLObject aURLObj;
aURLObj.SetSmartProtocol( INetProtocol::File );
- aURLObj.SetSmartURL( rName, INetURLObject::ENCODE_ALL );
+ aURLObj.SetSmartURL( rName, INetURLObject::EncodeMechanism::All );
OUString aTmp( aURLObj.GetBase() );
aTmp += " ";