summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 16:26:00 +0200
committerXisco FaulĂ­ <xiscofauli@libreoffice.org>2020-02-27 19:33:30 +0100
commit2854c7293c45b5e5a86d7b390f8e198d09daec64 (patch)
tree996cb12e12a2e7bb35b1f19c01679f1afe81f38b
parentbc4f1869e6b8c9e500483e4210cfc004bbd8d8a2 (diff)
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.grandin@collabora.co.uk> (cherry picked from commit dc5be8f6020dd812664af250d03d2a14b9e8a3cb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89584 Reviewed-by: Xisco FaulĂ­ <xiscofauli@libreoffice.org>
-rw-r--r--vcl/source/gdi/impvect.cxx2
1 files changed, 1 insertions, 1 deletions
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