From a054c52a6fc556ddf1383b676e7be533aed69420 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 3 Feb 2014 16:24:30 +0100 Subject: fdo#74366# Determining bMail was accidentally inverted ...in 64b720dce8d3087ed62da815ecae1375b45149be "Related: fdo#38838 remove UniString::SearchAscii" Change-Id: I814d832dc88704670a04fdc7f3edd1296dfda991 (cherry picked from commit 196386efb6592c8ca43d40e27f7888d4809f500c) Reviewed-on: https://gerrit.libreoffice.org/7820 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- cui/source/dialogs/hlmailtp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx index cfc990a7a6e4..10ecdb06ec3d 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -201,7 +201,7 @@ void SvxHyperlinkMailTp::SetScheme(const OUString& rScheme) //if rScheme is empty or unknown the default beaviour is like it where MAIL const sal_Char sNewsScheme[] = INET_NEWS_SCHEME; - bool bMail = rScheme.startsWith(sNewsScheme); + bool bMail = !rScheme.startsWith(sNewsScheme); //update protocol button selection: maRbtMail.Check(bMail); -- cgit v1.2.3