[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - cui/source

Stephan Bergmann sbergman at redhat.com
Tue Feb 4 02:36:46 PST 2014


 cui/source/dialogs/hlmailtp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a054c52a6fc556ddf1383b676e7be533aed69420
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Feb 3 16:24:30 2014 +0100

    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 at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx
index cfc990a..10ecdb0 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);


More information about the Libreoffice-commits mailing list