From 196386efb6592c8ca43d40e27f7888d4809f500c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 3 Feb 2014 16:24:30 +0100 Subject: [PATCH] fdo#74366# Determining bMail was accidentally inverted ...in 64b720dce8d3087ed62da815ecae1375b45149be "Related: fdo#38838 remove UniString::SearchAscii" Change-Id: I814d832dc88704670a04fdc7f3edd1296dfda991 --- 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);