desktop/source/app/crashreport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 13c1e3d1e13eb0eabccf29dbd57ae9995b805096
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue May 18 08:01:55 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue May 18 08:40:35 2021 +0200

    loplugin:stringview (--enable-breakpad)
    
    Change-Id: I5d260c2bbb875aa57a7eb8e3f80cfc9fc6376804
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115724
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/desktop/source/app/crashreport.cxx 
b/desktop/source/app/crashreport.cxx
index 84ceabb619bd..6f3d72934d51 100644
--- a/desktop/source/app/crashreport.cxx
+++ b/desktop/source/app/crashreport.cxx
@@ -144,7 +144,7 @@ void CrashReporter::writeCommonInfo()
     addKeyValue("BuildID", utl::Bootstrap::getBuildIdData(""), AddItem);
     addKeyValue("URL", protocol + "://" + url + "/submit/", AddItem);
 
-    if (proxy_server.aName != OUString())
+    if (!proxy_server.aName.isEmpty())
     {
         addKeyValue("Proxy", proxy_server.aName + ":" + 
OUString::number(proxy_server.nPort), AddItem);
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to