summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-12 13:39:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-13 07:19:38 +0100
commitd2bc01ff10f93a710296c7355efa8b11c6be0f56 (patch)
tree150a768a76778bd8205970c22eb67405375b70e0 /vcl/unx
parent312eeeee42cb4a1e356943e17305555e41afc4ef (diff)
loplugin:constantparam
Change-Id: I389f98d06058ba65a8c2d4df2bf7d4e5102659ad Reviewed-on: https://gerrit.libreoffice.org/65017 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/dtrans/bmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/dtrans/bmp.cxx b/vcl/unx/generic/dtrans/bmp.cxx
index 448feee1ffc7..68818549fab4 100644
--- a/vcl/unx/generic/dtrans/bmp.cxx
+++ b/vcl/unx/generic/dtrans/bmp.cxx
@@ -743,7 +743,7 @@ css::uno::Sequence<sal_Int8> x11::convertBitmapDepth(
Bitmap bm;
ReadDIB(bm, in, true);
if (bm.GetBitCount() == 24 && depth <= 8) {
- bm.Dither(BmpDitherFlags::Floyd);
+ bm.Dither();
}
if (bm.GetBitCount() != depth) {
switch (depth) {