diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-24 15:01:40 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-24 15:01:40 +0000 |
commit | 47278c278b3cca639010005664ddbb8e0c0551b3 (patch) | |
tree | 6bcbbbe6902efac3ed73f8fa44ac1956c83ac811 /basic | |
parent | d2afb8ee0442b510371e7c695d0c03ceaa298473 (diff) |
INTEGRATION: CWS ab48 (1.17.60); FILE MERGED
2008/06/10 05:09:57 ab 1.17.60.2: RESYNC: (1.17-1.18); FILE MERGED
2008/04/04 10:53:41 ab 1.17.60.1: #i75443# Support multiple array indices
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/exprnode.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/basic/source/comp/exprnode.cxx b/basic/source/comp/exprnode.cxx index 3386e580a024..294d4d1b8769 100644 --- a/basic/source/comp/exprnode.cxx +++ b/basic/source/comp/exprnode.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: exprnode.cxx,v $ - * $Revision: 1.18 $ + * $Revision: 1.19 $ * * This file is part of OpenOffice.org. * @@ -78,6 +78,7 @@ SbiExprNode::SbiExprNode( SbiParser* p, const SbiSymDef& r, SbxDataType t, SbiEx eNodeType = SbxVARVAL; aVar.pDef = (SbiSymDef*) &r; aVar.pPar = l; + aVar.pvMorePar = NULL; aVar.pNext= NULL; // Funktionsergebnisse sind nie starr @@ -116,6 +117,14 @@ SbiExprNode::~SbiExprNode() { delete aVar.pPar; delete aVar.pNext; + SbiExprListVector* pvMorePar = aVar.pvMorePar; + if( pvMorePar ) + { + SbiExprListVector::iterator it; + for( it = pvMorePar->begin() ; it != pvMorePar->end() ; ++it ) + delete *it; + delete pvMorePar; + } } } |