Home
last modified time | relevance | path

Searched refs:pVar (Results 1 – 25 of 58) sorted by relevance

123

/aoo42x/main/basic/source/sbx/
H A Dsbxobj.cxx348 if( pVar ) switch( pVar->GetClass() ) in FindVar()
438 return pVar; in Make()
467 if( pVar ) in MakeObject()
477 return pVar; in MakeObject()
549 if( pVar ) in QuickInsert()
588 if( pVar ) in VCPtrInsert()
667 if( pVar ) switch( pVar->GetClass() ) in VCPtrFindVar()
721 if( pVar ) in LoadArray()
944 if( pVar ) in Dump()
977 if( pVar ) in Dump()
[all …]
H A Dsbxarray.cxx226 if( pVar ) in Put32()
246 if( pVar ) in Put()
348 if( pVar ) in Remove()
376 if( pVar ) in Merge()
414 if( pVar ) in FindUserData()
416 if( pVar->IsVisible() && pVar->GetUserData() == nData ) in FindUserData()
418 p = pVar; in FindUserData()
467 if( pVar && pVar->IsVisible() ) in Find()
476 p = pVar; in Find()
524 if( pVar ) in LoadData()
[all …]
H A Dsbxexec.cxx201 SbxVariable* pVar = refVar; in MulDiv() local
202 pVar = new SbxVariable( *pVar ); in MulDiv()
203 refVar = pVar; in MulDiv()
234 pVar = new SbxVariable( *pVar ); in PlusMinus()
235 refVar = pVar; in PlusMinus()
276 *pVar = *pVar2; in Assign()
361 SbxVariable* pVar = NULL; in Execute() local
373 if( !pVar ) in Execute()
381 return pVar; in Execute()
386 SbxVariable* pVar = NULL; in FindQualified() local
[all …]
H A Dsbxcoll.cxx131 SbxVariable* pVar = p->GetVar(); in SFX_NOTIFY() local
132 SbxArray* pArg = pVar->GetParameters(); in SFX_NOTIFY()
135 XubString aVarName( pVar->GetName() ); in SFX_NOTIFY()
136 if( pVar == this ) in SFX_NOTIFY()
138 else if( pVar->GetHashCode() == nCountHash in SFX_NOTIFY()
140 pVar->PutLong( pObjs->Count() ); in SFX_NOTIFY()
141 else if( pVar->GetHashCode() == nAddHash in SFX_NOTIFY()
144 else if( pVar->GetHashCode() == nItemHash in SFX_NOTIFY()
147 else if( pVar->GetHashCode() == nRemoveHash in SFX_NOTIFY()
/aoo42x/main/basic/source/runtime/
H A Dstdobj1.cxx87 pVar->PutInteger( nType ); in PropType()
188 SetBold( pVar->GetBool() ); in PropBold()
190 pVar->PutBool( IsBold() ); in PropBold()
196 SetItalic( pVar->GetBool() ); in PropItalic()
198 pVar->PutBool( IsItalic() ); in PropItalic()
214 pVar->PutBool( IsUnderline() ); in PropUnderline()
360 (void)pVar; in MethGetData()
406 pVar->PutBool( sal_False ); in MethGetFormat()
418 pVar->PutString( String() ); in MethGetText()
424 (void)pVar; in MethSetData()
[all …]
H A Dstep1.cxx106 SbxVariable* pVar = refArgv->Get( refArgv->Count() - 1 ); // letztes Arg in StepARGTYP() local
109 if( pVar->GetRefCount() > 2 ) // 2 ist normal f�r BYVAL in StepARGTYP()
115 pVar = new SbxVariable( *pVar ); in StepARGTYP()
116 pVar->SetFlag( SBX_READWRITE ); in StepARGTYP()
117 refExprStk->Put( pVar, refArgv->Count() - 1 ); in StepARGTYP()
120 pVar->SetFlag( SBX_REFERENCE ); // Ref-Flag f�r DllMgr in StepARGTYP()
126 pVar->ResetFlag( SBX_REFERENCE ); // Keine Referenz -> OK in StepARGTYP()
131 if( pVar->GetType() != t ) in StepARGTYP()
135 pVar->Convert( SbxVARIANT ); in StepARGTYP()
136 pVar->Convert( t ); in StepARGTYP()
H A Dstep0.cxx444 size_t operator()( SbxVariable* pVar ) const in operator ()()
445 { return (size_t)pVar; } in operator ()()
452 void removeDimAsNewRecoverItem( SbxVariable* pVar ) in removeDimAsNewRecoverItem() argument
1058 SbxVariableRef pVar = PopVar(); in StepBYVAL() local
1059 SbxDataType t = pVar->GetType(); in StepBYVAL()
1063 *pCopyVar = *pVar; in StepBYVAL()
1144 SbxVariableRef pVar = GetTOS(); in StepINPUT() local
1147 if( !pVar->IsFixed() || pVar->IsNumeric() ) in StepINPUT()
1150 if( !pVar->Scan( s, &nLen ) ) in StepINPUT()
1161 else if( nLen != s.Len() && pVar->IsNumeric() ) in StepINPUT()
[all …]
H A Dstdobj.cxx671 SbxVariable* pVar = SbxObject::Find( rName, t ); in Find() local
672 if( !pVar ) in Find()
719 pVar = Make( aName_, eCT, p->eType, ( p->nArgs & _FUNCTION ) == _FUNCTION ); in Find()
720 pVar->SetUserData( nIndex + 1 ); in Find()
721 pVar->SetFlags( nAccess ); in Find()
724 return pVar; in Find()
741 SbxVariable* pVar = pHint->GetVar(); in SFX_NOTIFY() local
742 SbxArray* pPar_ = pVar->GetParameters(); in SFX_NOTIFY()
744 sal_uInt16 nCallId = (sal_uInt16) pVar->GetUserData(); in SFX_NOTIFY()
748 pVar->SetInfo( GetInfo( (short) pVar->GetUserData() ) ); in SFX_NOTIFY()
[all …]
/aoo42x/main/basic/source/classes/
H A Dsb.cxx892 if( pVar ) in CreateObject()
903 SbModule* pMod = pVar ? (SbModule*)pVar : NULL; in FindClass()
1103 pVar->SetParent( this ); in Insert()
1109 SbxObject::Insert( pVar ); in Insert()
1121 pModules->Remove( pVar ); in Remove()
1122 pVar->SetParent( 0 ); in Remove()
1307 pVar->Clear(); in ClearGlobalVars()
1407 SbxVariable* pVar = NULL; in FindVarInCurrentScopy() local
1414 if( pVar ) in FindVarInCurrentScopy()
1416 return pVar; in FindVarInCurrentScopy()
[all …]
H A Dsbunoobj.cxx723 pVar->PutObject( NULL ); in unoToSbxValue()
756 pVar->PutEmpty(); in unoToSbxValue()
765 pVar->PutObject( pObj ); in unoToSbxValue()
768 pVar->PutEmpty(); in unoToSbxValue()
828 pVar->PutObject( NULL ); in unoToSbxValue()
850 pVar->PutLong( nEnum ); in unoToSbxValue()
895 pVar->SetFlags( nFlags ); in unoToSbxValue()
1328 if( pVar->IsEmpty() ) in sbxToUnoValue()
1939 if( pVar ) in Impl_DumpProperties()
2020 if( pVar ) in Impl_DumpMethods()
[all …]
H A Dsbxmod.cxx149 DocObjectWrapper::DocObjectWrapper( SbModule* pVar ) : m_pMod( pVar ), mName( pVar->GetName() ) in DocObjectWrapper() argument
961 if( pVar ) in ClearUnoObjectsInRTL_Impl_Rek()
962 pVar->SbxValue::Clear(); in ClearUnoObjectsInRTL_Impl_Rek()
967 if( pVar ) in ClearUnoObjectsInRTL_Impl_Rek()
973 if( pVar ) in ClearUnoObjectsInRTL_Impl_Rek()
979 if( pVar ) in ClearUnoObjectsInRTL_Impl_Rek()
1376 if( pVar->SbxValue::GetType() != SbxOBJECT || pVar->ISA( SbProcedureProperty ) ) in implClearIfVarDependsOnDeletedBasic()
1882 pVar->Put( aVals ); in handleProcedureProperties()
2194 if ( !pVar ) in Find()
2196 return pVar; in Find()
[all …]
/aoo42x/main/basic/inc/basic/
H A Dsbstdobj.hxx59 void PropType( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
60 void PropWidth( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
61 void PropHeight( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
90 void PropBold( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
91 void PropItalic( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
93 void PropUnderline( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
94 void PropSize( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
95 void PropName( SbxVariable* pVar, SbxArray* pPar, sal_Bool bWrite );
128 void MethClear( SbxVariable* pVar, SbxArray* pPar_, sal_Bool bWrite );
129 void MethGetData( SbxVariable* pVar, SbxArray* pPar_, sal_Bool bWrite );
[all …]
/aoo42x/main/basctl/source/basicide/
H A Dbastype3.cxx206 SbxVariable* pVar = 0; in FindVariable() local
229 DBG_ASSERT( pVar && pVar->IsA( TYPE(StarBASIC) ), "FindVariable: Ungueltiges Basic" ); in FindVariable()
236 pVar = ((StarBASIC*)pVar)->FindModule( aName ); in FindVariable()
241 …DBG_ASSERT( pVar && ( (pVar->IsA( TYPE(SbModule) )) || (pVar->IsA( TYPE(SbxObject) )) ), "FindVari… in FindVariable()
242 pVar = ((SbxObject*)pVar)->GetMethods()->Find( aName, SbxCLASS_METHOD ); in FindVariable()
262 pVar = 0; in FindVariable()
266 if ( !pVar ) in FindVariable()
271 return pVar; in FindVariable()
472 SbxVariable* pVar = FindVariable( pEntry ); in FindModule() local
473 if ( pVar && pVar->IsA( TYPE(SbModule ) ) ) in FindModule()
[all …]
H A Dbaside2b.cxx280 SbxDataType eType = pVar->GetType(); in RequestHelp()
289 aHelpText = pVar->GetName(); in RequestHelp()
293 aHelpText += pVar->GetString(); in RequestHelp()
1645 if ( pVar->GetName().Len() ) in IMPL_LINK_INLINE_END()
1646 aEntry += pVar->GetName(); in IMPL_LINK_INLINE_END()
1658 aEntry += pVar->GetString(); in IMPL_LINK_INLINE_END()
1929 SbxVariable* pVar; in ImplGetSBXForEntry() local
1936 pVar->Get( aRes ); in ImplGetSBXForEntry()
2038 SbxDataType eType = pVar->GetType(); in ImplBasicEntryEdited()
2302 aWatchStr += pVar->GetString(); in UpdateWatches()
[all …]
/aoo42x/main/extensions/source/ole/
H A Dunotypewrapper.cxx30 bool createUnoTypeWrapper(BSTR sTypeName, VARIANT * pVar) in createUnoTypeWrapper() argument
33 OSL_ASSERT(sTypeName && pVar); in createUnoTypeWrapper()
35 VariantClear(pVar); in createUnoTypeWrapper()
39 pVar->vt= VT_DISPATCH; in createUnoTypeWrapper()
41 pVar->pdispVal= CComQIPtr<IDispatch, &__uuidof(IDispatch)>(pObj->GetUnknown()); in createUnoTypeWrapper()
43 pVar->pdispVal= CComQIPtr<IDispatch>(pObj->GetUnknown()); in createUnoTypeWrapper()
47 CComQIPtr<IUnoTypeWrapper, &__uuidof(IUnoTypeWrapper)> spType(pVar->pdispVal); in createUnoTypeWrapper()
49 CComQIPtr<IUnoTypeWrapper> spType(pVar->pdispVal); in createUnoTypeWrapper()
61 bool createUnoTypeWrapper(const rtl::OUString& sTypeName, VARIANT * pVar) in createUnoTypeWrapper() argument
64 return createUnoTypeWrapper(bstr, pVar); in createUnoTypeWrapper()
H A Dunoconversionutilities.hxx238 bool convertSelfToCom( T& unoInterface, VARIANT * pVar) in convertSelfToCom() argument
1385 pVar->vt = VT_UNKNOWN; in createUnoObjectWrapper()
1386 pVar->punkVal = NULL; in createUnoObjectWrapper()
1401 convertSelfToCom(xIntWrapper, pVar); in createUnoObjectWrapper()
1466 convertSelfToCom(xNewWrapper, pVar); in createUnoObjectWrapper()
1680 if (pVar->vt != VT_UNKNOWN && pVar->vt != VT_DISPATCH && pVar->vt != VT_EMPTY) in createOleObjectWrapper()
1690 if (pVar->vt == VT_UNKNOWN) in createOleObjectWrapper()
1692 spUnknown = pVar->punkVal; in createOleObjectWrapper()
1700 else if (pVar->vt == VT_DISPATCH && pVar->pdispVal != NULL) in createOleObjectWrapper()
1702 CComPtr<IDispatch> spDispatch(pVar->pdispVal); in createOleObjectWrapper()
[all …]
/aoo42x/main/basic/source/sample/
H A Dobject.cxx172 SbxVariable* pVar = pHint->GetVar(); in SFX_NOTIFY() local
173 SbxArray* pPar_ = pVar->GetParameters(); in SFX_NOTIFY()
174 sal_uInt16 nIndex = (sal_uInt16) pVar->GetUserData(); in SFX_NOTIFY()
180 pVar->SetInfo( GetInfo( (short) pVar->GetUserData() ) ); in SFX_NOTIFY()
197 (this->*(aMethods[ nIndex ].pFunc))( pVar, pPar_, bWrite ); in SFX_NOTIFY()
243 void SampleObject::Square( SbxVariable* pVar, SbxArray* pPar_, sal_Bool ) in Square() argument
246 pVar->PutDouble( n * n ); in Square()
258 void SampleObject::Create( SbxVariable* pVar, SbxArray* pPar_, sal_Bool ) in Create() argument
260 pVar->PutObject( in Create()
/aoo42x/main/tools/source/fsys/
H A Dos2.cxx644 PSZ pVar; in TempDirImpl() local
649 nRet = DosScanEnv( (PSZ)"TEMP", &pVar ); in TempDirImpl()
651 nRet = DosScanEnv( (PSZ)"temp", &pVar ); in TempDirImpl()
653 nRet = DosScanEnv( (PSZ)"TMP", &pVar ); in TempDirImpl()
655 nRet = DosScanEnv( (PSZ)"tmp", &pVar ); in TempDirImpl()
657 nRet = DosScanEnv( (PSZ)"TMPDIR", &pVar ); in TempDirImpl()
662 sal_Bool bRemoveBS = nRet || *(pVar+strlen(pVar)-1) == '\\'; in TempDirImpl()
668 nRet = DosScanEnv( (PSZ)"USER_INI",&pVar ); in TempDirImpl()
679 pVar = (PSZ)"c:\\temp\\"; in TempDirImpl()
681 pVar = (PCSZ)"c:\\temp\\"; in TempDirImpl()
[all …]
/aoo42x/main/sw/source/core/layout/
H A Ddbg_lay.cxx151 SvLongs *pVar; // Variables member in SwImplProtocol
175 { if( pVar && nNo < pVar->Count() ) rVar = (*pVar)[ nNo ]; } in GetVar()
301 : pStream( NULL ), pFrmIds( NULL ), pVar( NULL ), nTypes( 0xffff ), in SwImplProtocol()
328 delete pVar; in ~SwImplProtocol()
374 if( !pVar ) in CheckLine()
375 pVar = new SvLongs( 5, 5 ); in CheckLine()
426 case 6: pVar->Insert( (long)nVal, pVar->Count() ); in CheckLine()
/aoo42x/main/sw/source/core/doc/
H A Ddocbasic.cxx62 SbxVariable *pVar = rArgs.Get( i+1 ); in lcl_docbasic_convertArgs() local
63 switch( pVar->GetType() ) in lcl_docbasic_convertArgs()
66 pUnoArgs[i] <<= OUString( pVar->GetString() ); in lcl_docbasic_convertArgs()
69 pUnoArgs[i] <<= (sal_Int16)pVar->GetChar() ; in lcl_docbasic_convertArgs()
72 pUnoArgs[i] <<= (sal_Int16)pVar->GetUShort(); in lcl_docbasic_convertArgs()
75 pUnoArgs[i] <<= (sal_Int32)pVar->GetLong(); in lcl_docbasic_convertArgs()
/aoo42x/main/basic/source/basmgr/
H A Dbasmgr.cxx2261 SbxVariable* pVar = mpLib->GetObjects()->Get( nObj ); in hasElements() local
2262 if ( pVar->ISA( SbxObject ) && ( ((SbxObject*)pVar)->GetSbxId() == SBXID_DIALOG ) ) in hasElements()
2276 if( !( pVar && pVar->ISA( SbxObject ) && in getByName()
2277 ( ((SbxObject*)pVar)->GetSbxId() == SBXID_DIALOG ) ) ) in getByName()
2284 ( aName, implGetDialogData( (SbxObject*)pVar ) ); in getByName()
2302 SbxVariable* pVar = mpLib->GetObjects()->Get( nObj ); in getElementNames() local
2303 if ( pVar->ISA( SbxObject ) && ( ((SbxObject*)pVar)->GetSbxId() == SBXID_DIALOG ) ) in getElementNames()
2318 if( pVar && pVar->ISA( SbxObject ) && in hasByName()
2319 ( ((SbxObject*)pVar)->GetSbxId() == SBXID_DIALOG ) ) in hasByName()
2356 if( !( pVar && pVar->ISA( SbxObject ) && in removeByName()
[all …]
/aoo42x/main/sfx2/source/appl/
H A Dappbas.cxx175 …SbxVariable *pVar = pBas->Make( String::CreateFromAscii(pName), eClassType, eType ); //SbxCLASS_PR… in MakeVariable() local
176 pVar->SetUserData( nSID ); in MakeVariable()
177 pVar->SetFlag( SBX_DONTSTORE ); in MakeVariable()
178 pObject->StartListening( pVar->GetBroadcaster() ); in MakeVariable()
179 return pVar; in MakeVariable()
/aoo42x/main/scripting/source/basprov/
H A Dbasscript.cxx45 extern ::com::sun::star::uno::Any sbxToUnoValue( SbxVariable* pVar );
46 extern void unoToSbxValue( SbxVariable* pVar, const ::com::sun::star::uno::Any& aValue );
209 SbxVariable* pVar = xSbxParams->Get( n ); in invoke() local
210 if ( pVar ) in invoke()
212 SbxVariableRef xVar = pVar; in invoke()
/aoo42x/main/tools/bootstrp/
H A Dappdef.cxx150 const char* GetEnv( const char *pVar ) in GetEnv() argument
152 char const *pRet = getenv( pVar ); in GetEnv()
158 const char* GetEnv( const char *pVar, const char *pDefault ) in GetEnv() argument
160 char *pRet = getenv( pVar ); in GetEnv()
/aoo42x/main/basic/source/inc/
H A Druntime.hxx325 void SaveRef( SbxVariable* pVar ) in SaveRef() argument
333 pItem->xRef = pVar; in SaveRef()
435 void implHandleSbxFlags( SbxVariable* pVar, SbxDataType t, sal_uInt32 nOp2 );
477 inline void checkArithmeticOverflow( SbxVariable* pVar ) in checkArithmeticOverflow() argument
479 if( pVar->GetType() == SbxDOUBLE ) in checkArithmeticOverflow()
481 double d = pVar->GetDouble(); in checkArithmeticOverflow()

Completed in 145 milliseconds

123