diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-03 11:47:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-03 15:14:00 +0200 |
commit | f1ec3c675f1fcb04de564861c24f26b2bac4244c (patch) | |
tree | d324611d26b069d29cb5ca9308a997d6b0f853fa /basic/source/inc/buffer.hxx | |
parent | 6c8128532e5631702ed426ed664807d6e760e195 (diff) |
loplugin:constmethod in basic
Change-Id: Ib2056ab8437e163c7ae42e3ab7a4a3f8b6cb80a2
Reviewed-on: https://gerrit.libreoffice.org/78547
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic/source/inc/buffer.hxx')
-rw-r--r-- | basic/source/inc/buffer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/inc/buffer.hxx b/basic/source/inc/buffer.hxx index 525a193566c6..2291e8d0bea8 100644 --- a/basic/source/inc/buffer.hxx +++ b/basic/source/inc/buffer.hxx @@ -45,7 +45,7 @@ public: bool operator += (sal_uInt32); // save integer void operator += (sal_Int32); // save integer char* GetBuffer(); // give out buffer (delete yourself!) - sal_uInt32 GetSize() { return nOff; } + sal_uInt32 GetSize() const { return nOff; } }; #endif |