diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-27 16:26:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-02-28 08:15:28 +0100 |
commit | 0cc4f712d07550fb42507a9a6a6e53bc333f29e6 (patch) | |
tree | 9c171f7050855bec92c352af2eab090da6ae6023 /vcl | |
parent | 9e6fc988b6ef7420ba6cfa55aea0b48ec47462c3 (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/+/89585
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/impvect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx index bf5d2fc4fcb7..d12aeabd0203 100644 --- a/vcl/source/gdi/impvect.cxx +++ b/vcl/source/gdi/impvect.cxx @@ -120,7 +120,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 |