[Libreoffice-commits] .: vcl/source
Eike Rathke
erack at kemper.freedesktop.org
Wed Sep 7 16:43:23 PDT 2011
vcl/source/gdi/outdev3.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a58ed493e572fef2c503bd329e924bb062ba9c96
Author: Korrawit Pruegsanusak <detective.conan.1412 at gmail.com>
Date: Wed Sep 7 21:56:04 2011 +0700
cppcheck cleaning: duplicate expression on both sides of <
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 722bcbe..21b3fd7 100755
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -7543,7 +7543,7 @@ sal_uLong OutputDevice::GetKerningPairCount() const
inline bool CmpKernData( const KerningPair& a, const KerningPair& b )
{
- return (a.nChar1 < b.nChar1) || ((a.nChar1 == a.nChar2) && (a.nChar2 < a.nChar2));
+ return (a.nChar1 < b.nChar1) || ((a.nChar1 == a.nChar2) && (a.nChar2 < b.nChar2));
}
// TODO: best is to get rid of this method completely
More information about the Libreoffice-commits
mailing list