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>
This commit is contained in:
Stephan Bergmann 2021-05-18 08:01:55 +02:00
parent 40e85aadbf
commit 13c1e3d1e1

View file

@ -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);
}