summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-08 08:31:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-08 08:31:18 +0200
commit8b7978c822b11c53b4bd40bb0829e3ec205f1359 (patch)
treece72d54679cbf61f5902758920d689313827d5fb /vcl
parentUpdated css_parser from orcus, plus added experimental csv_parser. (diff)
downloadcore-8b7978c822b11c53b4bd40bb0829e3ec205f1359.tar.gz
core-8b7978c822b11c53b4bd40bb0829e3ec205f1359.zip
Make CmpKernData a true strict weak ordering for use in std::sort.
Diffstat (limited to 'vcl')
-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 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