summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2011-09-07 21:56:04 +0700
committerEike Rathke <erack@erack.de>2011-09-08 01:41:31 +0200
commita58ed493e572fef2c503bd329e924bb062ba9c96 (patch)
treedf2635186d0f008409607ed868674c381d52bb1b
parent7e1bafb2f1f324167e9b438fbf06e0ec346e55ca (diff)
cppcheck cleaning: duplicate expression on both sides of <
-rwxr-xr-xvcl/source/gdi/outdev3.cxx2
1 files changed, 1 insertions, 1 deletions
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