summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-06-20 23:07:30 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2019-06-21 00:47:22 +0200
commitcb28e48bfd7e8727797435dc05bdfe1652fb34f0 (patch)
tree544789048956324c6192d6f53e10392dcef12c42 /svtools
parent6153bedd8948cc05a9d8d338bac1d5858635c5ba (diff)
Drop INetURLObject::GetName and INetURLObject::GetExtension
They are just synonyms for GetLastName and GetFileExtension resp. Change-Id: Ic498c7025cc421b830394ed94d64529fd74fe7dd Reviewed-on: https://gerrit.libreoffice.org/74448 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/fileview.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index db7dd94fbdfa..3cf1bfab180b 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -656,7 +656,8 @@ void ViewTabListBox_Impl::DeleteEntries()
if ( eResult != svtools::QUERYDELETE_ALL )
{
INetURLObject aObj( aURL );
- svtools::QueryDeleteDlg_Impl aDlg(GetFrameWeld(), aObj.GetName(INetURLObject::DecodeMechanism::WithCharset));
+ svtools::QueryDeleteDlg_Impl aDlg(
+ GetFrameWeld(), aObj.GetLastName(INetURLObject::DecodeMechanism::WithCharset));
if ( GetSelectionCount() > 1 )
aDlg.EnableAllButton();