From 3bc228a1dd2f85e92ca341d16cb86e6eedef5eb7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Feb 2018 10:48:13 +0200 Subject: use RawBitmap and BitmapEx in DffPropertyReader part of making Bitmap an internal feature of vcl Change-Id: I2945005b9070bc13844c02f8ecaa349920d151fe Reviewed-on: https://gerrit.libreoffice.org/49579 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/vcl/BitmapTools.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx index 6dc88967526e..3f9629a51905 100644 --- a/include/vcl/BitmapTools.hxx +++ b/include/vcl/BitmapTools.hxx @@ -39,6 +39,8 @@ public: mpData[ p++ ] = nColor.GetGreen(); mpData[ p ] = nColor.GetBlue(); } + long Height() { return maSize.Height(); } + long Width() { return maSize.Width(); } }; BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE); -- cgit