diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2015-06-07 17:44:13 +0200 |
---|---|---|
committer | Arnaud Versini <arnaud.versini@libreoffice.org> | 2015-06-13 11:53:03 +0000 |
commit | 0766db041e17a7cb1ba2659f88f7e94fec720f67 (patch) | |
tree | aa1d5cfc0f217cb15716b0b9b1d12f9db46772c2 /basic/source/inc/symtbl.hxx | |
parent | 2181f936c88811d5b6eb6081355a99a727261a8f (diff) |
BASIC: Don't use SbiStringPool to pass SbiParser.
Change-Id: I15949e604285d804de1554d36acf36e8a407ebd9
Reviewed-on: https://gerrit.libreoffice.org/16137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
Diffstat (limited to 'basic/source/inc/symtbl.hxx')
-rw-r--r-- | basic/source/inc/symtbl.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index 3c67c8d7af83..cc4fac562188 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -37,9 +37,8 @@ enum SbiSymScope { SbLOCAL, SbPARAM, SbPUBLIC, SbGLOBAL, SbRTL }; class SbiStringPool { const OUString aEmpty; std::vector<OUString> aData; - SbiParser* pParser; public: - SbiStringPool( SbiParser* ); + SbiStringPool(); ~SbiStringPool(); sal_uInt32 GetSize() const { return aData.size(); } // From 8.4.1999: default changed to true because of #64236 - @@ -47,7 +46,6 @@ public: short Add( const OUString&, bool=true ); short Add( double, SbxDataType ); const OUString& Find( sal_uInt32 ) const; - SbiParser* GetParser() { return pParser; } }; @@ -65,7 +63,7 @@ protected: sal_uInt16 nProcId; // for STATIC-variable sal_uInt16 nCur; // iterator public: - SbiSymPool( SbiStringPool&, SbiSymScope ); + SbiSymPool( SbiStringPool&, SbiSymScope, SbiParser* pParser_ ); ~SbiSymPool(); void SetParent( SbiSymPool* p ) { pParent = p; } |