summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dochdl/swdtflvr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/dochdl/swdtflvr.cxx')
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index 41d7a5bd63de..7566fb1a769a 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -224,9 +224,9 @@ SwTransferable::SwTransferable( SwWrtShell& rSh )
{
const INetURLObject& rURLObj = pDShell->GetMedium()->GetURLObject();
m_aObjDesc.maDisplayName = URIHelper::removePassword(
- rURLObj.GetMainURL( INetURLObject::NO_DECODE ),
+ rURLObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ),
INetURLObject::EncodeMechanism::WasEncoded,
- INetURLObject::DECODE_UNAMBIGUOUS );
+ INetURLObject::DecodeMechanism::Unambiguous );
}
PrepareOLE( m_aObjDesc );
@@ -2487,7 +2487,7 @@ bool SwTransferable::PasteAsHyperlink( TransferableDataHelper& rData,
INetURLObject aURL;
aURL.SetSmartProtocol( INetProtocol::File );
aURL.SetSmartURL( sFile );
- sFile = aURL.GetMainURL( INetURLObject::NO_DECODE );
+ sFile = aURL.GetMainURL( INetURLObject::DecodeMechanism::NONE );
switch( rSh.GetObjCntTypeOfSelection() )
{
@@ -2537,7 +2537,7 @@ bool SwTransferable::PasteFileName( TransferableDataHelper& rData,
INetURLObject aMediaURL;
aMediaURL.SetSmartURL( sFile );
- const OUString aMediaURLStr( aMediaURL.GetMainURL( INetURLObject::NO_DECODE ) );
+ const OUString aMediaURLStr( aMediaURL.GetMainURL( INetURLObject::DecodeMechanism::NONE ) );
if( ::avmedia::MediaWindow::isMediaURL( aMediaURLStr, ""/*TODO?*/ ) )
{
@@ -2581,7 +2581,7 @@ bool SwTransferable::PasteFileName( TransferableDataHelper& rData,
INetURLObject aURL;
aURL.SetSmartProtocol( INetProtocol::File );
aURL.SetSmartURL( sFile );
- sFile = aURL.GetMainURL( INetURLObject::NO_DECODE );
+ sFile = aURL.GetMainURL( INetURLObject::DecodeMechanism::NONE );
switch( rSh.GetObjCntTypeOfSelection() )
{