summaryrefslogtreecommitdiff
path: root/include/vcl/bitmap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-26 10:15:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 10:15:31 +0100
commit11fc3b52db6e46d0879b163da59df14268c1fe13 (patch)
tree57793470f220fa39159ca4c539a18e55fad7a3bd /include/vcl/bitmap.hxx
parent190de05d55880c303a6161ec9b27a760300ff2ce (diff)
remove unused BmpDitherFlags enum values
Change-Id: I09a0eb661b66da78d8b3809124930bc761960712 Reviewed-on: https://gerrit.libreoffice.org/64064 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/bitmap.hxx')
-rw-r--r--include/vcl/bitmap.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index c23367c34c9a..b67850196b7a 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -62,13 +62,11 @@ enum class BmpScaleFlag
enum class BmpDitherFlags
{
NONE = 0x0000,
- Matrix = 0x0001,
- Floyd = 0x0002,
- Floyd16 = 0x0004,
+ Floyd = 0x0001,
};
namespace o3tl
{
- template<> struct typed_flags<BmpDitherFlags> : is_typed_flags<BmpDitherFlags, 0x07> {};
+ template<> struct typed_flags<BmpDitherFlags> : is_typed_flags<BmpDitherFlags, 0x01> {};
}
#define BMP_COL_TRANS Color( 252, 3, 251 )
@@ -535,9 +533,7 @@ public:
SAL_DLLPRIVATE void ImplSetSalBitmap( const std::shared_ptr<SalBitmap>& xImpBmp );
SAL_DLLPRIVATE bool ImplMakeGreyscales( sal_uInt16 nGreyscales );
- SAL_DLLPRIVATE bool ImplDitherMatrix();
SAL_DLLPRIVATE bool ImplDitherFloyd();
- SAL_DLLPRIVATE bool ImplDitherFloyd16();
public: