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 )
aRtlSyms( aGblStrings, SbRTL, this ),
aGen( *pm, this, 1024 )
{
pBasic = pb;
eCurExpr = SbSYMBOL;
eEndTok = NIL;
pProc = NULL;
......
......@@ -68,7 +68,6 @@ public:
SbiSymPool aPublics; // module global
SbiSymPool aRtlSyms; // Runtime-Library
SbiCodeGen aGen; // Code-Generator
StarBASIC* pBasic; // StarBASIC instance
SbiSymPool* pPool;
SbiExprType eCurExpr;
short nBase; // OPTION BASE-value
......
......@@ -35,6 +35,7 @@ class SbiScanner
OUString aLine;
const sal_Unicode* pLine;
const sal_Unicode* pSaveLine;
StarBASIC* pBasic; // instance for error callbacks
void scanAlphanumeric();
void scanGoto();
......@@ -43,7 +44,6 @@ protected:
OUString aSym;
OUString aError;
SbxDataType eScanType;
StarBASIC* pBasic; // instance for error callbacks
double nVal; // numeric value
sal_Int32 nCurCol1;
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