Lines Matching refs:refVar
108 SbxVariableRef refVar; in QualifiedName() local
113 refVar = Element( pObj, pGbl, &p, t, aCharClass ); in QualifiedName()
114 while( refVar.Is() && (*p == '.' || *p == '!') ) in QualifiedName()
118 pObj = PTR_CAST(SbxObject,(SbxVariable*) refVar); in QualifiedName()
121 pObj = PTR_CAST(SbxObject,refVar->GetObject()); in QualifiedName()
122 refVar.Clear(); in QualifiedName()
127 refVar = Element( pObj, pGbl, &p, t, aCharClass ); in QualifiedName()
133 if( refVar.Is() ) in QualifiedName()
134 refVar->AddRef(); in QualifiedName()
135 return refVar; in QualifiedName()
146 SbxVariableRef refVar( new SbxVariable ); in Operand() local
155 if( !refVar->Scan( XubString( p ), &nLen ) ) in Operand()
156 refVar.Clear(); in Operand()
176 refVar->PutString( aString ); in Operand()
179 refVar = QualifiedName( pObj, pGbl, &p, SbxCLASS_DONTCARE ); in Operand()
181 if( refVar.Is() ) in Operand()
182 refVar->AddRef(); in Operand()
183 return refVar; in Operand()
192 SbxVariableRef refVar( Operand( pObj, pGbl, &p, sal_False ) ); in MulDiv() local
194 while( refVar.Is() && ( *p == '*' || *p == '/' ) ) in MulDiv()
201 SbxVariable* pVar = refVar; in MulDiv()
203 refVar = pVar; in MulDiv()
205 *refVar *= *refVar2; in MulDiv()
207 *refVar /= *refVar2; in MulDiv()
211 refVar.Clear(); in MulDiv()
216 if( refVar.Is() ) in MulDiv()
217 refVar->AddRef(); in MulDiv()
218 return refVar; in MulDiv()
224 SbxVariableRef refVar( MulDiv( pObj, pGbl, &p ) ); in PlusMinus() local
226 while( refVar.Is() && ( *p == '+' || *p == '-' ) ) in PlusMinus()
233 SbxVariable* pVar = refVar; in PlusMinus()
235 refVar = pVar; in PlusMinus()
237 *refVar += *refVar2; in PlusMinus()
239 *refVar -= *refVar2; in PlusMinus()
243 refVar.Clear(); in PlusMinus()
248 if( refVar.Is() ) in PlusMinus()
249 refVar->AddRef(); in PlusMinus()
250 return refVar; in PlusMinus()
256 SbxVariableRef refVar( Operand( pObj, pGbl, &p, sal_True ) ); in Assign() local
258 if( refVar.Is() ) in Assign()
263 if( refVar->GetClass() != SbxCLASS_PROPERTY ) in Assign()
266 refVar.Clear(); in Assign()
274 SbxVariable* pVar = refVar; in Assign()
283 refVar->Broadcast( SBX_HINT_DATAWANTED ); in Assign()
286 if( refVar.Is() ) in Assign()
287 refVar->AddRef(); in Assign()
288 return refVar; in Assign()
301 SbxVariableRef refVar; in Element() local
307 refVar = pObj->Find( aSym, t ); in Element()
309 if( refVar.Is() ) in Element()
311 refVar->SetParameters( NULL ); in Element()
328 refVar.Clear(); break; in Element()
344 if( refVar.Is() ) in Element()
345 refVar->SetParameters( refPar ); in Element()
352 if( refVar.Is() ) in Element()
353 refVar->AddRef(); in Element()
354 return refVar; in Element()