summaryrefslogtreecommitdiff
path: root/uui/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 08:47:18 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:07:53 -0500
commit3c4333c24882d6699b65d109f2cfbf7daf3122c6 (patch)
tree739dacdd38ddd2053aaa3ad7f0ffc053eb515d52 /uui/source
parent6b631a02d36aa09f7c06793e8b4482d3b67ab258 (diff)
convert DecodeMechanism to scoped enum
(cherry picked from commit bfde4866e07746eafa2f0d6173c29d805cc35ad0) (cherry picked from commit 3de922d4a695e253d4ca2d42b70e0b35b52e9b7c) Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
Diffstat (limited to 'uui/source')
-rw-r--r--uui/source/fltdlg.cxx2
-rw-r--r--uui/source/passworddlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/fltdlg.cxx b/uui/source/fltdlg.cxx
index 8bec836f8b66..4aa2baa2c8e9 100644
--- a/uui/source/fltdlg.cxx
+++ b/uui/source/fltdlg.cxx
@@ -212,7 +212,7 @@ OUString FilterDialog::impl_buildUIFileName( const OUString& sName )
{
INetURLObject aBuilder ( sName );
Size aSize = m_pFtURL->GetOutputSizePixel();
- sShortName = aBuilder.getAbbreviated( xStringCalculator, aSize.Width(), INetURLObject::DECODE_UNAMBIGUOUS );
+ sShortName = aBuilder.getAbbreviated( xStringCalculator, aSize.Width(), INetURLObject::DecodeMechanism::Unambiguous );
}
}
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index 490af47a9c16..4a403bea6370 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -75,7 +75,7 @@ PasswordDialog::PasswordDialog(vcl::Window* _pParent,
OUString aMessage(ResId(nStrId, *pResourceMgr).toString());
INetURLObject url(aDocURL);
aMessage += url.HasError()
- ? aDocURL : url.GetMainURL(INetURLObject::DECODE_UNAMBIGUOUS);
+ ? aDocURL : url.GetMainURL(INetURLObject::DecodeMechanism::Unambiguous);
m_pFTPassword->SetText(aMessage);
if (bIsSimplePasswordRequest)