summaryrefslogtreecommitdiffstats
path: root/include/vcl/BitmapTools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-12 10:48:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-13 07:37:13 +0100
commit3bc228a1dd2f85e92ca341d16cb86e6eedef5eb7 (patch)
tree3b6e5d437495109394bc21a1d34e49166ebdb9cf /include/vcl/BitmapTools.hxx
parentAdd missing SVLIBRARY include. (diff)
downloadcore-3bc228a1dd2f85e92ca341d16cb86e6eedef5eb7.tar.gz
core-3bc228a1dd2f85e92ca341d16cb86e6eedef5eb7.zip
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/BitmapTools.hxx')
-rw-r--r--include/vcl/BitmapTools.hxx2
1 files changed, 2 insertions, 0 deletions
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);