summaryrefslogtreecommitdiff
path: root/include/vcl/BitmapTools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-13 13:08:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-14 11:40:32 +0200
commit59887868da3499c68d5f259cfa48178354397448 (patch)
treefea3595f08d0a2ff07070c34bc2b94bbb7a446e1 /include/vcl/BitmapTools.hxx
parentafb0dfc41ebb0a6a96ae31c122c7f97743dc7486 (diff)
loplugin:constfields in vcl
Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610 Reviewed-on: https://gerrit.libreoffice.org/60430 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.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/BitmapTools.hxx b/include/vcl/BitmapTools.hxx
index 75eb6ed53077..90c45fc6ebde 100644
--- a/include/vcl/BitmapTools.hxx
+++ b/include/vcl/BitmapTools.hxx
@@ -35,8 +35,8 @@ class VCL_DLLPUBLIC RawBitmap
{
friend BitmapEx VCL_DLLPUBLIC CreateFromData( RawBitmap&& rawBitmap );
std::unique_ptr<sal_uInt8[]> mpData;
- Size maSize;
- sal_uInt8 mnBitCount;
+ Size const maSize;
+ sal_uInt8 const mnBitCount;
public:
RawBitmap(Size const & rSize, sal_uInt8 nBitCount)
: maSize(rSize),