summaryrefslogtreecommitdiff
path: root/vcl/source/rendercontext/drawmode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/rendercontext/drawmode.cxx')
-rw-r--r--vcl/source/rendercontext/drawmode.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/rendercontext/drawmode.cxx b/vcl/source/rendercontext/drawmode.cxx
index 9b2b9236b92a..b1b85d33f52f 100644
--- a/vcl/source/rendercontext/drawmode.cxx
+++ b/vcl/source/rendercontext/drawmode.cxx
@@ -221,19 +221,6 @@ vcl::Font GetFont(vcl::Font const& rFont, DrawModeFlags nDrawMode,
return aFont;
}
-Bitmap GetBitmap(Bitmap const& rBitmap, DrawModeFlags nDrawMode)
-{
- Bitmap aBmp(rBitmap);
-
- if (nDrawMode & DrawModeFlags::GrayBitmap)
- {
- if (!aBmp.IsEmpty())
- aBmp.Convert(BmpConversion::N8BitGreys);
- }
-
- return aBmp;
-}
-
BitmapEx GetBitmapEx(BitmapEx const& rBitmapEx, DrawModeFlags nDrawMode)
{
BitmapEx aBmpEx(rBitmapEx);