From a2505ae7317fe6e995a8ad52fefe5079c48f9d6f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 11 Nov 2013 16:49:40 +0100 Subject: SAL_WARN_UNUSED INetURLObject Change-Id: Ia9af3b76c2a2ac654b02c1502aa2d0c2c987fbf2 --- cui/source/dialogs/hldoctp.cxx | 2 -- cui/source/dialogs/hlmailtp.cxx | 1 - 2 files changed, 3 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index 1353038d6095..865b0e54239d 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -93,8 +93,6 @@ SvxHyperlinkDocTp::~SvxHyperlinkDocTp () void SvxHyperlinkDocTp::FillDlgFields(const OUString& rStrURL) { - INetURLObject aURL(rStrURL); - sal_Int32 nPos = rStrURL.indexOf(sHash); // path maCbbPath.SetText ( rStrURL.copy( 0, ( nPos == -1 ? rStrURL.getLength() : nPos ) ) ); diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx index 0fa2688dde00..cfc990a7a6e4 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -94,7 +94,6 @@ SvxHyperlinkMailTp::~SvxHyperlinkMailTp () void SvxHyperlinkMailTp::FillDlgFields(const OUString& rStrURL) { - INetURLObject aURL(rStrURL); OUString aStrScheme = GetSchemeFromURL(rStrURL); // set URL-field and additional controls -- cgit