Lines Matching refs:rDef
75 void SbiParser::TypeDecl( SbiSymDef& rDef, sal_Bool bAsNewAlreadyParsed ) in TypeDecl() argument
77 SbxDataType eType = rDef.GetType(); in TypeDecl()
83 rDef.SetDefinedAs(); in TypeDecl()
88 rDef.SetNew(); in TypeDecl()
94 if( rDef.IsNew() ) in TypeDecl()
109 if( rDef.IsNew() ) in TypeDecl()
123 rDef.SetFixedStringLength( nSize ); in TypeDecl()
163 rDef.SetTypeId( aGblStrings.Add( aCompleteName ) ); in TypeDecl()
165 if( rDef.IsNew() && pProc == NULL ) in TypeDecl()
171 rDef.SetTypeId( aGblStrings.Add( aSym ) ); in TypeDecl()
179 if( rDef.GetType() != SbxVARIANT ) in TypeDecl()
181 if( rDef.GetType() != eType ) in TypeDecl()
182 Error( SbERR_VAR_DEFINED, rDef.GetName() ); in TypeDecl()
183 else if( eType == SbxSTRING && rDef.GetLen() != nSize ) in TypeDecl()
184 Error( SbERR_VAR_DEFINED, rDef.GetName() ); in TypeDecl()
186 rDef.SetType( eType ); in TypeDecl()
187 rDef.SetLen( nSize ); in TypeDecl()