Kaydet (Commit) f4a4fee5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:literalalternative

Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
üst c128736a
...@@ -171,7 +171,7 @@ checkForUpdates( ...@@ -171,7 +171,7 @@ checkForUpdates(
{ {
uno::Reference< xml::dom::XElement > xParent(xNode2->getParentNode(), uno::UNO_QUERY_THROW); uno::Reference< xml::dom::XElement > xParent(xNode2->getParentNode(), uno::UNO_QUERY_THROW);
OUString aType = xParent->getAttribute("type"); 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()) ); o_rUpdateInfo.Sources.push_back( DownloadSource(bIsDirect, xNode2->getNodeValue()) );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment