diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-26 21:01:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-26 21:02:55 +0100 |
commit | 909de9de9fce6a2e8a5c4e859038d00ce3e88c15 (patch) | |
tree | 061aebe25c6a1fa5dec2ff5c96ca662aa6216c36 | |
parent | ef2c6f988203ec3f7a79077d4734c51401f0d8de (diff) |
fixed some 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 brokenness
7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 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
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 56d1d4a8ef9a..4ce3714d1850 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -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 |