summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 11:30:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-24 13:37:12 +0200
commite3cc7b94b13d6cc4e044cfd688e0fcc9dca63987 (patch)
tree759829a119a218fd5cb314ace433aeb3ec2b77ff /include
parent6a9c7409ee617b79c327dd7ea4de432f448b6006 (diff)
loplugin:unusedenumconstants BmpConversion
Change-Id: Ib1c36a35ffa6af535b5265f753e9b7a6bfb590a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92841 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/BitmapMonochromeMatrixFilter.hxx28
-rw-r--r--include/vcl/bitmap.hxx4
2 files changed, 0 insertions, 32 deletions
diff --git a/include/vcl/BitmapMonochromeMatrixFilter.hxx b/include/vcl/BitmapMonochromeMatrixFilter.hxx
deleted file mode 100644
index 58d1d917f65d..000000000000
--- a/include/vcl/BitmapMonochromeMatrixFilter.hxx
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- */
-
-#ifndef INCLUDED_INCLUDE_VCL_BITMAPMONOCHROMEMATRIXFILTER_HXX
-#define INCLUDED_INCLUDE_VCL_BITMAPMONOCHROMEMATRIXFILTER_HXX
-
-#include <vcl/BitmapFilter.hxx>
-
-class VCL_DLLPUBLIC BitmapMonochromeMatrixFilter final : public BitmapFilter
-{
-public:
- /** Convert to monochrome (1-bit) bitmap using dithering
- */
- BitmapMonochromeMatrixFilter() {}
-
- virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
-};
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 1df24105e8bd..742e7a3a56f8 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -66,7 +66,6 @@ enum class BmpConversion
{
NNONE,
N1BitThreshold,
- N1BitMatrix, // aka Dithered, used in export to bitmap
N4BitGreys,
N4BitColors,
N8BitGreys,
@@ -74,7 +73,6 @@ enum class BmpConversion
N24Bit,
N32Bit,
N8BitTrans,
- Ghosted,
N8BitNoConversion // make 8bit without color conversion (e.g. take the red channel)
};
@@ -537,8 +535,6 @@ private:
SAL_DLLPRIVATE bool ImplConvertUp(sal_uInt16 nBitCount, Color const* pExtColor = nullptr);
SAL_DLLPRIVATE bool ImplConvertDown(sal_uInt16 nBitCount, Color const* pExtColor = nullptr);
- SAL_DLLPRIVATE bool ImplConvertGhosted();
-
private:
std::shared_ptr<SalBitmap> mxSalBmp;
MapMode maPrefMapMode;