summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
Diffstat (limited to 'uui')
-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)