[Libreoffice-commits] .: vcl/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Wed Sep 7 23:36:31 PDT 2011


 vcl/source/gdi/outdev3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8b7978c822b11c53b4bd40bb0829e3ec205f1359
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 8 08:31:18 2011 +0200

    Make CmpKernData a true strict weak ordering for use in std::sort.

diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index 21b3fd7..f533639 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


More information about the Libreoffice-commits mailing list