diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2019-06-20 23:07:30 +1000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-06-21 00:47:22 +0200 |
commit | cb28e48bfd7e8727797435dc05bdfe1652fb34f0 (patch) | |
tree | 544789048956324c6192d6f53e10392dcef12c42 /writerperfect | |
parent | 6153bedd8948cc05a9d8d338bac1d5858635c5ba (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 'writerperfect')
-rw-r--r-- | writerperfect/source/writer/exp/xmlimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerperfect/source/writer/exp/xmlimp.cxx b/writerperfect/source/writer/exp/xmlimp.cxx index 890e896d5fb9..1f3960a2dae4 100644 --- a/writerperfect/source/writer/exp/xmlimp.cxx +++ b/writerperfect/source/writer/exp/xmlimp.cxx @@ -97,7 +97,7 @@ OUString FindCoverImage(const OUString& rDocumentBaseURL, OUString& rMimeType, if (!aRet.isEmpty()) { INetURLObject aRetURL(aRet); - rMimeType = GetMimeType(aRetURL.GetExtension()); + rMimeType = GetMimeType(aRetURL.GetFileExtension()); return aRet; } @@ -429,7 +429,7 @@ PopupState XMLImport::FillPopupData(const OUString& rURL, librevenge::RVNGProper rPropList.insert("office:binary-data", aBinaryData); INetURLObject aAbsURL(aAbs); - OUString aMimeType = GetMimeType(aAbsURL.GetExtension()); + OUString aMimeType = GetMimeType(aAbsURL.GetFileExtension()); rPropList.insert("librevenge:mime-type", aMimeType.toUtf8().getStr()); return PopupState::Consumed; |