summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-05-18 08:01:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-18 08:40:35 +0200
commit13c1e3d1e13eb0eabccf29dbd57ae9995b805096 (patch)
tree577f16d3102863156eb8864caacaed37f0e4bbe5
parent40e85aadbff8eaeba20ee6a39ca669d282d91005 (diff)
loplugin:stringview (--enable-breakpad)
Change-Id: I5d260c2bbb875aa57a7eb8e3f80cfc9fc6376804 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115724 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--desktop/source/app/crashreport.cxx2
1 files changed, 1 insertions, 1 deletions
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);
}