Kaydet (Commit) 7985e524 authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Noel Grandin

BASIC : SbiParser::pBasic is useless

Change-Id: I5aa041f78ea5685b996a6baf1d7bc22d5bd957ab
Reviewed-on: https://gerrit.libreoffice.org/17782Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst aade7198
...@@ -116,7 +116,6 @@ SbiParser::SbiParser( StarBASIC* pb, SbModule* pm ) ...@@ -116,7 +116,6 @@ SbiParser::SbiParser( StarBASIC* pb, SbModule* pm )
aRtlSyms( aGblStrings, SbRTL, this ), aRtlSyms( aGblStrings, SbRTL, this ),
aGen( *pm, this, 1024 ) aGen( *pm, this, 1024 )
{ {
pBasic = pb;
eCurExpr = SbSYMBOL; eCurExpr = SbSYMBOL;
eEndTok = NIL; eEndTok = NIL;
pProc = NULL; pProc = NULL;
......
...@@ -68,7 +68,6 @@ public: ...@@ -68,7 +68,6 @@ public:
SbiSymPool aPublics; // module global SbiSymPool aPublics; // module global
SbiSymPool aRtlSyms; // Runtime-Library SbiSymPool aRtlSyms; // Runtime-Library
SbiCodeGen aGen; // Code-Generator SbiCodeGen aGen; // Code-Generator
StarBASIC* pBasic; // StarBASIC instance
SbiSymPool* pPool; SbiSymPool* pPool;
SbiExprType eCurExpr; SbiExprType eCurExpr;
short nBase; // OPTION BASE-value short nBase; // OPTION BASE-value
......
...@@ -35,6 +35,7 @@ class SbiScanner ...@@ -35,6 +35,7 @@ class SbiScanner
OUString aLine; OUString aLine;
const sal_Unicode* pLine; const sal_Unicode* pLine;
const sal_Unicode* pSaveLine; const sal_Unicode* pSaveLine;
StarBASIC* pBasic; // instance for error callbacks
void scanAlphanumeric(); void scanAlphanumeric();
void scanGoto(); void scanGoto();
...@@ -43,7 +44,6 @@ protected: ...@@ -43,7 +44,6 @@ protected:
OUString aSym; OUString aSym;
OUString aError; OUString aError;
SbxDataType eScanType; SbxDataType eScanType;
StarBASIC* pBasic; // instance for error callbacks
double nVal; // numeric value double nVal; // numeric value
sal_Int32 nCurCol1; sal_Int32 nCurCol1;
sal_Int32 nSavedCol1; sal_Int32 nSavedCol1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment