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

New commits:
commit 2854c7293c45b5e5a86d7b390f8e198d09daec64
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Thu Feb 27 16:26:00 2020 +0200
Commit:     Xisco Faulí <xiscofa...@libreoffice.org>
CommitDate: Thu Feb 27 19:33:30 2020 +0100

    tdf#130679 Draw: Convert to polygon doesn't work
    
    regression from
        commit 1cd32bcf1b92bd53320717626601135623dadd55
        Date:   Mon Dec 10 11:28:59 2018 +0200
        loplugin:useuniqueptr in vcl
    
    Change-Id: I7753f54822d0249d1fcda97581051d023969fc2f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89636
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>
    (cherry picked from commit dc5be8f6020dd812664af250d03d2a14b9e8a3cb)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89584
    Reviewed-by: Xisco Faulí <xiscofa...@libreoffice.org>

diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx
index 5ecfb6aedbd1..9f830ccebb7e 100644
--- a/vcl/source/gdi/impvect.cxx
+++ b/vcl/source/gdi/impvect.cxx
@@ -117,7 +117,7 @@ static bool ImplColorSetCmpFnc( const ImplColorSet& lhs, 
const ImplColorSet& rhs
         const sal_uInt8 cLum2 = rhs.maColor.GetLuminance();
         return cLum1 < cLum2;
     }
-    return lhs.mbSet < rhs.mbSet;
+    return lhs.mbSet > rhs.mbSet;
 }
 
 class ImplPointArray
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to