summaryrefslogtreecommitdiff
path: root/svl/source/misc/lockfilecommon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/misc/lockfilecommon.cxx')
-rw-r--r--svl/source/misc/lockfilecommon.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/misc/lockfilecommon.cxx b/svl/source/misc/lockfilecommon.cxx
index e19bd44fd710..a163c43ac0b3 100644
--- a/svl/source/misc/lockfilecommon.cxx
+++ b/svl/source/misc/lockfilecommon.cxx
@@ -63,7 +63,7 @@ LockFileCommon::LockFileCommon( const OUString& aOrigURL, const OUString& aPrefi
aShareURLString += aPrefix;
aShareURLString += aDocURL.GetName();
aShareURLString += "%23"; // '#'
- m_aURL = INetURLObject( aShareURLString ).GetMainURL( INetURLObject::NO_DECODE );
+ m_aURL = INetURLObject( aShareURLString ).GetMainURL( INetURLObject::DecodeMechanism::NONE );
}
@@ -77,7 +77,7 @@ INetURLObject LockFileCommon::ResolveLinks( const INetURLObject& aDocURL )
if ( aDocURL.HasError() )
throw lang::IllegalArgumentException();
- OUString aURLToCheck = aDocURL.GetMainURL(INetURLObject::NO_DECODE);
+ OUString aURLToCheck = aDocURL.GetMainURL(INetURLObject::DecodeMechanism::NONE);
// there is currently no UCB functionality to resolve the symbolic links;
// since the lock files are used only for local file systems the osl