summaryrefslogtreecommitdiff
path: root/basic/source/inc/codegen.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/inc/codegen.hxx')
-rw-r--r--basic/source/inc/codegen.hxx4
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