Lines Matching refs:rDef
73 void SbiParser::TypeDecl( SbiSymDef& rDef, sal_Bool bAsNewAlreadyParsed ) in TypeDecl() argument
75 SbxDataType eType = rDef.GetType(); in TypeDecl()
81 rDef.SetDefinedAs(); in TypeDecl()
86 rDef.SetNew(); in TypeDecl()
92 if( rDef.IsNew() ) in TypeDecl()
107 if( rDef.IsNew() ) in TypeDecl()
121 rDef.SetFixedStringLength( nSize ); in TypeDecl()
161 rDef.SetTypeId( aGblStrings.Add( aCompleteName ) ); in TypeDecl()
163 if( rDef.IsNew() && pProc == NULL ) in TypeDecl()
169 rDef.SetTypeId( aGblStrings.Add( aSym ) ); in TypeDecl()
177 if( rDef.GetType() != SbxVARIANT ) in TypeDecl()
179 if( rDef.GetType() != eType ) in TypeDecl()
180 Error( SbERR_VAR_DEFINED, rDef.GetName() ); in TypeDecl()
181 else if( eType == SbxSTRING && rDef.GetLen() != nSize ) in TypeDecl()
182 Error( SbERR_VAR_DEFINED, rDef.GetName() ); in TypeDecl()
184 rDef.SetType( eType ); in TypeDecl()
185 rDef.SetLen( nSize ); in TypeDecl()