diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 10:37:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-16 12:07:32 +0100 |
commit | 494f565506013015d9ce4a3010eb3b211557d70f (patch) | |
tree | c2c01aa6cabb798ba09dd4a2ecec36b15b0676b3 /include | |
parent | e568d233a3f9cbc926bfa12dac3fbc6d29a4b6c7 (diff) |
don't bother dithering for 256bit displays
which surely are a minority by now
Also drop the GetColorCount() method on OutputDevice and clean up the
remaining call sites to use GetBitCount()
Change-Id: I4e2c6f2523796f7df7f54eb005f1539e34d9ea40
Reviewed-on: https://gerrit.libreoffice.org/51389
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/xoutbmp.hxx | 2 | ||||
-rw-r--r-- | include/vcl/outdev.hxx | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/svx/xoutbmp.hxx b/include/svx/xoutbmp.hxx index 23249ffb94a1..0f7ae80d95b2 100644 --- a/include/svx/xoutbmp.hxx +++ b/include/svx/xoutbmp.hxx @@ -75,8 +75,6 @@ public: const tools::Rectangle* pWorkRect ); }; -SVX_DLLPUBLIC bool DitherBitmap( Bitmap& rBitmap ); - #endif // INCLUDED_SVX_XOUTBMP_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index ff90e3fb40da..e2cec1c195dd 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -464,9 +464,6 @@ public: Size GetOutputSize() const { return PixelToLogic( GetOutputSizePixel() ); } - sal_uLong GetColorCount() const; - - css::uno::Reference< css::awt::XGraphics > CreateUnoGraphics(); std::vector< VCLXGraphics* > *GetUnoGraphicsList() const { return mpUnoGraphicsList; } |