summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-06-21 01:29:47 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2019-06-21 04:37:53 +0200
commite7e87ad179d5d7383d1b6be58f624ba302c16d73 (patch)
tree4bc7e5904c50278cc7fa4dae900008bce750c4c1 /svtools
parentcb28e48bfd7e8727797435dc05bdfe1652fb34f0 (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 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx2
-rw-r--r--svtools/source/control/inettbc.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 3cf1bfab180b..9f7b6c14b6bd 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1846,7 +1846,7 @@ void SvtFileView_Impl::EntryRenamed( OUString& rURL,
(*aFoundElem)->maDisplayText = aDisplayText.replaceAt( 0, nIndex, rTitle );
INetURLObject aURLObj( rURL );
- aURLObj.SetName( rTitle, INetURLObject::EncodeMechanism::All );
+ aURLObj.setName( rTitle, INetURLObject::EncodeMechanism::All );
rURL = aURLObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index a2ef57c6116a..eff7b67fcb47 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -1779,7 +1779,7 @@ OUString SvtURLBox::GetURL()
if( success && aTitle != "/" && aTitle != "." )
{
- aObj.SetName( aTitle );
+ aObj.setName( aTitle );
if ( bSlash )
aObj.setFinalSlash();
}
@@ -2214,7 +2214,7 @@ OUString URLBox::GetURL()
if( success && aTitle != "/" && aTitle != "." )
{
- aObj.SetName( aTitle );
+ aObj.setName( aTitle );
if ( bSlash )
aObj.setFinalSlash();
}