loplugin:literalalternative

Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
This commit is contained in:
Stephan Bergmann
2013-06-15 01:03:22 +02:00
parent c128736aad
commit f4a4fee523

View File

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