summaryrefslogtreecommitdiff
path: root/include/vcl/BitmapTools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 10:02:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 11:04:05 +0200
commit3be72fe233b3e6d7aeb267f6c82d8bf9759b39ef (patch)
treea8304c473bac0da12a6b5d35f7841cd61a13b01c /include/vcl/BitmapTools.hxx
parentb5c5cccabe68dc2de84cee4ef041f52268e5b8b4 (diff)
loplugin:constmethod in vcl
Change-Id: I20545527b117c9562b91076b748fb3e2659d2497 Reviewed-on: https://gerrit.libreoffice.org/77944 Tested-by: Jenkins 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, 1 insertions, 1 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index c15fdf9e16b8..1cf13d4c7de8 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -80,7 +80,7 @@ public:
void SetPixel(long nY, long nX, BitmapColor nColor) = delete;
long Height() { return maSize.Height(); }
long Width() { return maSize.Width(); }
- sal_uInt8 GetBitCount() { return mnBitCount; }
+ sal_uInt8 GetBitCount() const { return mnBitCount; }
};
BitmapEx VCL_DLLPUBLIC loadFromName(const OUString& rFileName, const ImageLoadFlags eFlags = ImageLoadFlags::NONE);