From a58ed493e572fef2c503bd329e924bb062ba9c96 Mon Sep 17 00:00:00 2001 From: Korrawit Pruegsanusak Date: Wed, 7 Sep 2011 21:56:04 +0700 Subject: cppcheck cleaning: duplicate expression on both sides of < --- vcl/source/gdi/outdev3.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 722bcbeaabfc..21b3fd7279f3 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 -- cgit