summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-03 16:24:30 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-04 10:36:22 +0000
commita054c52a6fc556ddf1383b676e7be533aed69420 (patch)
treeed404035f850eb83cf89fab5dabf27c03afcfd63 /cui/source
parentff86ddf59884ab3bd08e6bf33adabf8ca79967df (diff)
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 <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'cui/source')
-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);