summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/dibtools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 11:20:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-14 14:37:40 +0100
commitb90e098a354323b635bab3ee8f9c79deb1e734fe (patch)
tree7d5636a991b8553995e57e0e616e4c0dbea72b4b /vcl/source/gdi/dibtools.cxx
parent95fab7cbf2f0576d0f728bed8898b7ff769d90e6 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi/dibtools.cxx')
-rw-r--r--vcl/source/gdi/dibtools.cxx9
1 files changed, 9 insertions, 0 deletions
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)