diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-09-08 08:31:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-09-08 08:31:18 +0200 |
commit | 8b7978c822b11c53b4bd40bb0829e3ec205f1359 (patch) | |
tree | ce72d54679cbf61f5902758920d689313827d5fb | |
parent | 7015bad5a7c767c51e7a89a005b5315669a954bc (diff) |
Make CmpKernData a true strict weak ordering for use in std::sort.
-rwxr-xr-x | vcl/source/gdi/outdev3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index 21b3fd7279f3..f533639e67c4 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 < b.nChar2)); + return (a.nChar1 < b.nChar1) || ((a.nChar1 == b.nChar1) && (a.nChar2 < b.nChar2)); } // TODO: best is to get rid of this method completely |