summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hlinettp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:56:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:59:58 +0200
commit74f6acf030a6289eb5a9635e1e9e1afd59aa4b90 (patch)
treee260d7d4e9872e0f4745de145626d4b1b4c5cae2 /cui/source/dialogs/hlinettp.cxx
parenta324b1ca1ae6185ea39db6daf68c7210b541ae96 (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): cui
Change-Id: If2a86e570cd8225acb27e9c37377078b7a246449 Reviewed-on: https://gerrit.libreoffice.org/76687 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui/source/dialogs/hlinettp.cxx')
-rw-r--r--cui/source/dialogs/hlinettp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index a2bae6bd1ce2..4867a43bbe00 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -287,8 +287,8 @@ void SvxHyperlinkInternetTp::RemoveImproperProtocol(const OUString& aProperSchem
OUString SvxHyperlinkInternetTp::GetSchemeFromButtons() const
{
if( m_xRbtLinktypFTP->get_active() )
- return OUString(INET_FTP_SCHEME);
- return OUString(INET_HTTP_SCHEME);
+ return INET_FTP_SCHEME;
+ return INET_HTTP_SCHEME;
}
INetProtocol SvxHyperlinkInternetTp::GetSmartProtocolFromButtons() const