summaryrefslogtreecommitdiff
path: root/svl/qa/unit/lockfiles/test_lockfiles.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/qa/unit/lockfiles/test_lockfiles.cxx')
-rw-r--r--svl/qa/unit/lockfiles/test_lockfiles.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/qa/unit/lockfiles/test_lockfiles.cxx b/svl/qa/unit/lockfiles/test_lockfiles.cxx
index 076d699484bb..5d2661ca00be 100644
--- a/svl/qa/unit/lockfiles/test_lockfiles.cxx
+++ b/svl/qa/unit/lockfiles/test_lockfiles.cxx
@@ -90,7 +90,7 @@ OUString readLockFile(const OUString& aSource)
OUString GetLockFileName(const svt::GenDocumentLockFile& rLockFile)
{
INetURLObject aDocURL = svt::LockFileCommon::ResolveLinks(INetURLObject(rLockFile.GetURL()));
- return aDocURL.GetName();
+ return aDocURL.GetLastName();
}
OUString LockfileTest::generateTestURL(const OUString& sFileName) const