summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/hlmailtp.cxx2
1 files changed, 1 insertions, 1 deletions
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);