From b90e098a354323b635bab3ee8f9c79deb1e734fe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 Feb 2018 11:20:32 +0200 Subject: use BitmapEx in LwpBackgroundStuff part of making Bitmap an implementation detail of vcl/ Change-Id: I847a2371cd630637b11aed0fad7263809143c706 Reviewed-on: https://gerrit.libreoffice.org/49705 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/gdi/dibtools.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vcl/source/gdi/dibtools.cxx') diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index 325f1e68d670..61acb72dfcb2 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -1831,6 +1831,15 @@ bool WriteDIB( return ImplWriteDIB(rSource, rOStm, bCompressed, bFileHeader); } +bool WriteDIB( + const BitmapEx& rSource, + SvStream& rOStm, + bool bCompressed, + bool bFileHeader) +{ + return ImplWriteDIB(rSource.GetBitmapRef(), rOStm, bCompressed, bFileHeader); +} + bool WriteDIBBitmapEx( const BitmapEx& rSource, SvStream& rOStm) -- cgit