From f4a4fee523ff8a6d272eabda2ce9ca96bd3bbbb1 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 15 Jun 2013 01:03:22 +0200 Subject: [PATCH] loplugin:literalalternative Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8 --- extensions/source/update/check/updateprotocol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/source/update/check/updateprotocol.cxx b/extensions/source/update/check/updateprotocol.cxx index 59ef0d935364..7ad265189832 100644 --- a/extensions/source/update/check/updateprotocol.cxx +++ b/extensions/source/update/check/updateprotocol.cxx @@ -171,7 +171,7 @@ checkForUpdates( { uno::Reference< xml::dom::XElement > xParent(xNode2->getParentNode(), uno::UNO_QUERY_THROW); OUString aType = xParent->getAttribute("type"); - bool bIsDirect = ( sal_False == aType.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("text/html")) ); + bool bIsDirect = !aType.equalsIgnoreAsciiCase("text/html"); o_rUpdateInfo.Sources.push_back( DownloadSource(bIsDirect, xNode2->getNodeValue()) ); }