vcl/source/gdi/outdev3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 909de9de9fce6a2e8a5c4e859038d00ce3e88c15 Author: Eike Rathke <er...@redhat.com> Date: Tue Mar 26 21:01:52 2013 +0100 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 diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 56d1d4a..4ce3714 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits