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/codegen.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/codegen.hxx')
-rw-r--r-- | basic/source/inc/codegen.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx index 5a969d1f2cb7..4abf53504295 100644 --- a/basic/source/inc/codegen.hxx +++ b/basic/source/inc/codegen.hxx @@ -45,8 +45,8 @@ public: void BackChain( sal_uInt32 off ) { aCode.Chain( off ); } void Statement(); void GenStmnt(); // create statement-opcode maybe - sal_uInt32 GetPC(); - sal_uInt32 GetOffset() { return GetPC() + 1; } + sal_uInt32 GetPC() const; + sal_uInt32 GetOffset() const { return GetPC() + 1; } void Save(); // #29955 service for-loop-level |