summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 16:26:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 17:23:05 +0100
commitdc5be8f6020dd812664af250d03d2a14b9e8a3cb (patch)
tree84a6d64a2e70e9e98c0a903f48a7f0574adde0cd
parent2a00d51150d410110602c953b3c3895debfcaa98 (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>
-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 d060b9d7c490..8f268d06f5fa 100644
--- a/vcl/source/gdi/impvect.cxx
+++ b/vcl/source/gdi/impvect.cxx
@@ -129,7 +129,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;
}
namespace {