Kaydet (Commit) 909de9de authored tarafından Eike Rathke's avatar Eike Rathke

fixed some 7d1f4cde brokenness

7d1f4cde changed some String to OUString
and replaced Search...() with indexOf() but still compared the result
against STRING_NOTFOUND instead of the -1 required now.

Change-Id: I94ecdd1741554d8ac401f9cc2ffe8456e3184394
üst ef2c6f98
......@@ -2178,9 +2178,9 @@ bool ImplFontCache::IFSD_Equal::operator()(const FontSelectPattern& rA, const Fo
#if ENABLE_GRAPHITE
// check for features
if ((rA.maTargetName.indexOf(grutils::GrFeatureParser::FEAT_PREFIX)
!= STRING_NOTFOUND ||
!= -1 ||
rB.maTargetName.indexOf(grutils::GrFeatureParser::FEAT_PREFIX)
!= STRING_NOTFOUND) && rA.maTargetName != rB.maTargetName)
!= -1) && rA.maTargetName != rB.maTargetName)
return false;
#endif
......
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