diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-06-21 01:29:47 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-06-21 04:37:53 +0200 |
commit | e7e87ad179d5d7383d1b6be58f624ba302c16d73 (patch) | |
tree | 4bc7e5904c50278cc7fa4dae900008bce750c4c1 /svl | |
parent | cb28e48bfd7e8727797435dc05bdfe1652fb34f0 (diff) |
Extend INetURLObject::setName and drop INetURLObject::SetName
Change-Id: I488313eeb363d2a9344d6bc801900d5b1f913020
Reviewed-on: https://gerrit.libreoffice.org/74463
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/lockfilecommon.cxx | 2 | ||||
-rw-r--r-- | svl/source/misc/msodocumentlockfile.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/misc/lockfilecommon.cxx b/svl/source/misc/lockfilecommon.cxx index 9a3cb0c7abe0..e27c1113d975 100644 --- a/svl/source/misc/lockfilecommon.cxx +++ b/svl/source/misc/lockfilecommon.cxx @@ -72,7 +72,7 @@ void LockFileCommon::SetURL(const OUString& aURL) OUString LockFileCommon::GenerateOwnLockFileURL(const OUString& aOrigURL, const OUString& aPrefix) { INetURLObject aURL = ResolveLinks(INetURLObject(aOrigURL)); - aURL.SetName(aPrefix + aURL.GetLastName() + "%23" /*'#'*/); + aURL.setName(aPrefix + aURL.GetLastName() + "%23" /*'#'*/); return aURL.GetMainURL(INetURLObject::DecodeMechanism::NONE); } diff --git a/svl/source/misc/msodocumentlockfile.cxx b/svl/source/misc/msodocumentlockfile.cxx index cdb4ddd2264f..9650db03999f 100644 --- a/svl/source/misc/msodocumentlockfile.cxx +++ b/svl/source/misc/msodocumentlockfile.cxx @@ -56,7 +56,7 @@ OUString GenerateMSOLockFileURL(const OUString& aOrigURL) else if (nFileNameLength == 7) sFileName = sFileName.copy(1); } - aURL.SetName("~$" + sFileName); + aURL.setName("~$" + sFileName); return aURL.GetMainURL(INetURLObject::DecodeMechanism::NONE); } } |