| /trunk/main/sw/source/core/bastyp/ |
| H A D | index.cxx | 45 #define IDX_CHK_ARRAY pArray->ChkArr(); 80 if ( ! (this == pIdx->pArray)) in ChkArr() 100 : nIndex( nIdx ), pArray( pArr ), pNext( 0 ), pPrev( 0 ) in SwIndex() 102 if( !pArray ) in SwIndex() 104 pArray = SwIndexReg::pEmptyIndexArray; in SwIndex() 108 if( !pArray->pFirst ) // 1. Index ?? in SwIndex() 109 pArray->pFirst = pArray->pLast = this; in SwIndex() 110 else if( nIdx > ((pArray->pLast->nIndex - pArray->pFirst->nIndex) / 2) ) in SwIndex() 111 ChgValue( *pArray->pLast, nIdx ); in SwIndex() 113 ChgValue( *pArray->pFirst, nIdx ); in SwIndex() [all …]
|
| /trunk/main/basic/source/sbx/ |
| H A D | sbxobj.cxx | 239 SbxArray* pArray = NULL; in Find() local 243 case SbxCLASS_PROPERTY: pArray = pProps; break; in Find() 244 case SbxCLASS_METHOD: pArray = pMethods; break; in Find() 245 case SbxCLASS_OBJECT: pArray = pObjs; break; in Find() 249 if( pArray ) in Find() 250 pRes = pArray->Find( rName, t ); in Find() 331 SbxArray* pArray = FindVar( p, n ); in SetDfltProperty() local 332 pArray->Put( p, n ); in SetDfltProperty() 347 SbxArray* pArray = NULL; in FindVar() local 351 case SbxCLASS_PROPERTY: pArray = pProps; break; in FindVar() [all …]
|
| /trunk/main/svl/source/numbers/ |
| H A D | numfmuno.cxx | 418 rtl::OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local 419 pArray[0] = rtl::OUString::createFromAscii(SERVICENAME_NUMBERFORMATTER); in getSupportedServiceNames() 707 rtl::OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local 708 pArray[0] = rtl::OUString::createFromAscii(SERVICENAME_NUMBERFORMATS); in getSupportedServiceNames() 907 beans::PropertyValue* pArray = aSeq.getArray(); in getPropertyValues() local 909 pArray[0].Name = rtl::OUString::createFromAscii( PROPERTYNAME_FMTSTR ); in getPropertyValues() 910 pArray[0].Value <<= rtl::OUString( aFmtStr ); in getPropertyValues() 911 pArray[1].Name = rtl::OUString::createFromAscii( PROPERTYNAME_LOCALE ); in getPropertyValues() 912 pArray[1].Value <<= aLocale; in getPropertyValues() 913 pArray[2].Name = rtl::OUString::createFromAscii( PROPERTYNAME_TYPE ); in getPropertyValues() [all …]
|
| /trunk/main/extensions/source/ole/ |
| H A D | unoconversionutilities.hxx | 174 …Sequence<Any> createOleArrayWrapperOfDim(SAFEARRAY* pArray, unsigned int dimCount, unsigned int ac… 176 … Sequence<Any> createOleArrayWrapper(SAFEARRAY* pArray, VARTYPE type, const Type& unotype= Type()); 784 SAFEARRAY* pArray = createUnoSequenceWrapper(rAny); in anyToVariant() local 785 if (pArray) in anyToVariant() 788 V_ARRAY(pVariant) = pArray; in anyToVariant() 1042 SAFEARRAY* pArray= NULL; in createUnoSequenceWrapper() local 1070 pArray = SafeArrayCreate(elemtype, dims, prgsabound); in createUnoSequenceWrapper() 1073 if( pArray) in createUnoSequenceWrapper() 1077 if( SUCCEEDED( SafeArrayAccessData( pArray, &pSAData))) in createUnoSequenceWrapper() 1166 SafeArrayUnaccessData( pArray); in createUnoSequenceWrapper() [all …]
|
| /trunk/main/sc/source/ui/view/ |
| H A D | olinewin.cxx | 176 const ScOutlineArray* pArray = GetOutlineArray(); in GetOutlineEntry() local 177 …return pArray ? pArray->GetEntry( sal::static_int_cast<sal_uInt16>(nLevel), sal::static_int_cast<s… in GetOutlineEntry() 244 const ScOutlineArray* pArray = GetOutlineArray(); in GetLevelCount() local 245 size_t nLevelCount = pArray ? pArray->GetDepth() : 0; in GetLevelCount() 382 const ScOutlineArray* pArray = GetOutlineArray(); in ItemHit() local 383 if ( !pArray ) return false; in ItemHit() 412 size_t nEntry = pArray->GetCount( sal::static_int_cast<sal_uInt16>(nLevel) ); in ItemHit() 417 const ScOutlineEntry* pEntry = pArray->GetEntry( sal::static_int_cast<sal_uInt16>(nLevel), in ItemHit() 621 const ScOutlineArray* pArray = GetOutlineArray(); in Paint() local 622 if ( !pArray ) return; in Paint() [all …]
|
| /trunk/main/editeng/source/uno/ |
| H A D | unonrule.cxx | 196 beans::PropertyValue* pArray = new beans::PropertyValue[nProps]; in getNumberingRuleByIndex() local 202 pArray[nIdx++] = aAlignProp; in getNumberingRuleByIndex() 208 …pArray[nIdx++] = beans::PropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_NRULE_ADJUST)… in getNumberingRuleByIndex() 214 pArray[nIdx++] = aPrefixProp; in getNumberingRuleByIndex() 220 pArray[nIdx++] = aSuffixProp; in getNumberingRuleByIndex() 230 pArray[nIdx++] = aBulletProp; in getNumberingRuleByIndex() 239 …pArray[nIdx++] = beans::PropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_NRULE_BULLET_… in getNumberingRuleByIndex() 252 pArray[nIdx++] = aGraphicProp; in getNumberingRuleByIndex() 261 pArray[nIdx++] = aGraphicSizeProp; in getNumberingRuleByIndex() 265 …pArray[nIdx++] = beans::PropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM(UNO_NAME_NRULE_START_WI… in getNumberingRuleByIndex() [all …]
|
| /trunk/main/sc/source/core/data/ |
| H A D | table3.cxx | 135 ScSortInfoArray* pArray = new ScSortInfoArray( nUsedSorts, nInd1, nInd2 ); in CreateSortInfoArray() local 145 ScSortInfo* pInfo = pArray->Get( nSort, nRow ); in CreateSortInfoArray() 159 ScSortInfo* pInfo = pArray->Get( nSort, nCol ); in CreateSortInfoArray() 165 return pArray; in CreateSortInfoArray() 205 void ScTable::SortReorder( ScSortInfoArray* pArray, ScProgress& rProgress ) in SortReorder() argument 208 SCSIZE nCount = pArray->GetCount(); in SortReorder() 209 SCCOLROW nStart = pArray->GetStart(); in SortReorder() 210 ScSortInfo** ppInfo = pArray->GetFirstArray(); in SortReorder() 342 short ScTable::Compare( ScSortInfoArray* pArray, SCCOLROW nIndex1, SCCOLROW nIndex2 ) in Compare() argument 348 ScSortInfo* pInfo1 = pArray->Get( nSort, nIndex1 ); in Compare() [all …]
|
| H A D | dpoutput.cxx | 230 const sheet::MemberResult* pArray = aResult.getConstArray(); in lcl_FillNumberFormats() local 247 if ( !(pArray[nPos].Flags & sheet::MemberResultFlags::CONTINUE) ) in lcl_FillNumberFormats() 248 aName = String( pArray[nPos].Name ); in lcl_FillNumberFormats() 310 const sheet::MemberResult* pArray = rSeq.getConstArray(); in lcl_MemberEmpty() local 312 if (pArray[i].Flags & sheet::MemberResultFlags::HASMEMBER) in lcl_MemberEmpty() 883 const sheet::MemberResult* pArray = rSequence.getConstArray(); in Output() local 889 HeaderCell( nColPos, nRowPos, nTab, pArray[nCol], sal_True, nField ); in Output() 892 if ( ( pArray[nCol].Flags & sheet::MemberResultFlags::HASMEMBER ) && in Output() 893 !( pArray[nCol].Flags & sheet::MemberResultFlags::SUBTOTAL ) ) in Output() 896 … while ( nEnd+1 < nThisColCount && ( pArray[nEnd+1].Flags & sheet::MemberResultFlags::CONTINUE ) ) in Output() [all …]
|
| /trunk/main/sc/source/ui/docshell/ |
| H A D | olinefun.cxx | 114 ScOutlineArray* pArray = bColumns ? pTable->GetColArray() : pTable->GetRowArray(); in MakeOutline() local 119 bRes = pArray->Insert( nStartCol, nEndCol, bSize ); in MakeOutline() 121 bRes = pArray->Insert( nStartRow, nEndRow, bSize ); in MakeOutline() 180 ScOutlineArray* pArray = bColumns ? pTable->GetColArray() : pTable->GetRowArray(); in RemoveOutline() local 185 bRes = pArray->Remove( nStartCol, nEndCol, bSize ); in RemoveOutline() 187 bRes = pArray->Remove( nStartRow, nEndRow, bSize ); in RemoveOutline() 360 ScOutlineArray* pArray = bColumns ? pTable->GetColArray() : pTable->GetRowArray(); in SelectLevel() local 361 if (!pArray) in SelectLevel() 365 pArray->GetRange( nStart, nEnd ); in SelectLevel() 393 ScSubOutlineIterator aIter( pArray ); // alle Eintraege in SelectLevel() [all …]
|
| H A D | externalrefmgr.cxx | 148 ScTokenArray* pArray = pCell->GetCode(); in operator ()() local 149 if (pArray) in operator ()() 151 pArray->SetCodeError(0); in operator ()() 566 TokenArrayRef pArray; in getCellRangeData() local 656 pArray->AddOpCode(ocSep); in getCellRangeData() 660 if (!pArray) in getCellRangeData() 661 pArray.reset(new ScTokenArray); in getCellRangeData() 662 pArray->AddToken(aToken); in getCellRangeData() 673 rDoc.maRangeArrays.insert( RangeArrayMap::value_type(*pNewRange, pArray)); in getCellRangeData() 674 return pArray; in getCellRangeData() [all …]
|
| /trunk/main/sc/source/ui/unoobj/ |
| H A D | datauno.cxx | 214 beans::PropertyValue* pArray = rSeq.getArray(); in FillProperties() local 231 pArray[0].Name = rtl::OUString::createFromAscii( SC_UNONAME_DBNAME ); in FillProperties() 232 pArray[0].Value <<= rtl::OUString( rParam.aDBName ); in FillProperties() 236 pArray[0].Name = rtl::OUString::createFromAscii( SC_UNONAME_CONRES ); in FillProperties() 237 pArray[0].Value <<= rtl::OUString( rParam.aDBName ); in FillProperties() 240 pArray[1].Name = rtl::OUString::createFromAscii( SC_UNONAME_SRCTYPE ); in FillProperties() 241 pArray[1].Value <<= eMode; in FillProperties() 243 pArray[2].Name = rtl::OUString::createFromAscii( SC_UNONAME_SRCOBJ ); in FillProperties() 244 pArray[2].Value <<= rtl::OUString( rParam.aStatement ); in FillProperties() 246 pArray[3].Name = rtl::OUString::createFromAscii( SC_UNONAME_ISNATIVE ); in FillProperties() [all …]
|
| H A D | appluno.cxx | 425 rtl::OUString* pArray = aRet.getArray(); in getSupportedServiceNames_Static() local 426 pArray[0] = rtl::OUString::createFromAscii( SCSPREADSHEETSETTINGS_SERVICE ); in getSupportedServiceNames_Static() 688 rtl::OUString* pArray = aRet.getArray(); in getSupportedServiceNames_Static() local 689 pArray[0] = rtl::OUString::createFromAscii( SCRECENTFUNCTIONSOBJ_SERVICE ); in getSupportedServiceNames_Static() 769 rtl::OUString* pArray = aRet.getArray(); in getSupportedServiceNames_Static() local 770 pArray[0] = rtl::OUString::createFromAscii( SCFUNCTIONLISTOBJ_SERVICE ); in getSupportedServiceNames_Static() 781 beans::PropertyValue* pArray = rSequence.getArray(); in lcl_FillSequence() local 783 pArray[0].Name = rtl::OUString::createFromAscii( SC_UNONAME_ID ); in lcl_FillSequence() 784 pArray[0].Value <<= (sal_Int32) rDesc.nFIndex; in lcl_FillSequence() 786 pArray[1].Name = rtl::OUString::createFromAscii( SC_UNONAME_CATEGORY ); in lcl_FillSequence() [all …]
|
| /trunk/main/sw/source/core/text/ |
| H A D | atrstck.cxx | 298 pArray = pInitialArray; in SwAttrStack() 314 pArray = new SwTxtAttr*[ nSize ]; in Insert() 316 memcpy( pArray, pInitialArray, in Insert() 326 memcpy( pTmpArray, pArray, nCount * sizeof(SwTxtAttr*) ); in Insert() 328 delete [] pArray; in Insert() 329 pArray = pTmpArray; in Insert() 336 memmove( pArray + nPos + 1, pArray + nPos, in Insert() 339 pArray[ nPos ] = (SwTxtAttr*)&rAttr; in Insert() 353 memmove( pArray + nPos, pArray + nPos + 1, in Remove() 366 return nCount ? pArray[ nCount - 1 ] : 0; in Top() [all …]
|
| /trunk/main/comphelper/source/eventattachermgr/ |
| H A D | eventattachermgr.cxx | 553 Reference< XEventListener > * pArray = (*aObjIt).aAttachedListenerSeq.getArray(); in registerScriptEvent() local 559 pArray[nPos] = xAttacher->attachSingleEventListener( (*aObjIt).xTarget, xAll, in registerScriptEvent() 587 const ScriptEventDescriptor* pArray = ScriptEvents.getConstArray(); in registerScriptEvents() local 590 registerScriptEvent( nIndex, pArray[ i ] ); in registerScriptEvents() 716 ScriptEventDescriptor * pArray = aSeq.getArray(); in getScriptEvents() local 723 pArray[i++] = *aEvtIt; in getScriptEvents() 767 Reference< XEventListener > * pArray = rCurObj.aAttachedListenerSeq.getArray(); in attach() local 788 pArray[i++] = xAdapter; in attach() 809 pArray[i] = xAdapter; in attach() 830 Reference< XEventListener > * pArray = (*aObjIt).aAttachedListenerSeq.getArray(); in detach() local [all …]
|
| /trunk/main/svx/source/unodraw/ |
| H A D | unoshap2.cxx | 1083 const awt::Point* pArray = pInnerSequence->getConstArray(); in ImplSvxPointSequenceSequenceToB2DPolyPolygon() local 1084 const awt::Point* pArrayEnd = pArray + pInnerSequence->getLength(); in ImplSvxPointSequenceSequenceToB2DPolyPolygon() 1086 for(;pArray != pArrayEnd;++pArray) in ImplSvxPointSequenceSequenceToB2DPolyPolygon() 1088 aNewPolygon.append(basegfx::B2DPoint(pArray->X, pArray->Y)); in ImplSvxPointSequenceSequenceToB2DPolyPolygon() 1145 const awt::Point* pArray = pSequence->getConstArray(); in setPropertyValueImpl() local 1146 const awt::Point* pArrayEnd = pArray + pSequence->getLength(); in setPropertyValueImpl() 1148 for(;pArray != pArrayEnd;++pArray) in setPropertyValueImpl() 1150 aNewPolygon.append(basegfx::B2DPoint(pArray->X, pArray->Y)); in setPropertyValueImpl() 1362 const awt::Point* pArray = pInnerSequence->getConstArray(); in SvxConvertPolyPolygonBezierToB2DPolyPolygon() local 1366 basegfx::B2DPoint aNewCoordinatePair(pArray->X, pArray->Y); pArray++; in SvxConvertPolyPolygonBezierToB2DPolyPolygon() [all …]
|
| /trunk/main/sc/source/ui/vba/ |
| H A D | vbawsfunction.cxx | 79 uno::Any* pArray = aParamTemp.getArray(); in invoke() local 80 uno::Any* pArrayEnd = pArray + aParamTemp.getLength(); in invoke() 81 for( ; pArray < pArrayEnd; ++pArray ) in invoke() 83 uno::Reference< excel::XRange > myRange( *pArray, uno::UNO_QUERY ); in invoke() 85 *pArray = myRange->getCellRange(); in invoke() 86 …ACE("Param[%d] is %s", (int)(pArray - aParamTemp.getConstArray()), rtl::OUStringToOString( comphel… in invoke()
|
| /trunk/main/idlc/source/ |
| H A D | fehelper.cxx | 59 AstArray* pArray; in compose() local 77 pArray = (AstArray*)m_pComplexPart; in compose() 78 pArray->setType(pType); in compose() 84 AstDeclaration* pDecl2 = pScope->addDeclaration(pArray); in compose() 85 if ( (AstDeclaration*)pArray != pDecl2 ) in compose() 91 return pArray; in compose()
|
| /trunk/main/sw/source/core/unocore/ |
| H A D | unotbl.cxx | 275 text::TextContentAnchorType* pArray = aTypes.getArray(); in lcl_GetSpecialProperty() local 276 pArray[0] = text::TextContentAnchorType_AT_PARAGRAPH; in lcl_GetSpecialProperty() 621 text::TableColumnSeparator* pArray = aColSeq.getArray(); in lcl_GetTblSeparators() local 625 pArray[i].Position = static_cast< sal_Int16 >(aCols[i]); in lcl_GetTblSeparators() 626 pArray[i].IsVisible = !aCols.IsHidden(i); in lcl_GetTblSeparators() 627 if(!bRow && !pArray[i].IsVisible) in lcl_GetTblSeparators() 659 const text::TableColumnSeparator* pArray = pSepSeq->getConstArray(); in lcl_SetTblSeparators() local 664 aCols[i] = pArray[i].Position; in lcl_SetTblSeparators() 665 if(pArray[i].IsVisible == aCols.IsHidden(i) || in lcl_SetTblSeparators() 1250 OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local [all …]
|
| H A D | unocoll.cxx | 295 OUString* pArray = aRet.getArray(); in GetAllServiceNames() local 302 pArray[n] = sProv; in GetAllServiceNames() 686 OUString* pArray = aSeq.getArray(); in getElementNames() local 691 pArray[i] = OUString(rFmt.GetName()); in getElementNames() 1097 OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local 1098 pArray[0] = C2U("com.sun.star.text.TextFrames"); in getSupportedServiceNames() 1128 OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local 1129 pArray[0] = C2U("com.sun.star.text.TextGraphicObjects"); in getSupportedServiceNames() 1158 OUString* pArray = aRet.getArray(); in getSupportedServiceNames() local 1159 pArray[0] = C2U("com.sun.star.text.TextEmbeddedObjects"); in getSupportedServiceNames() [all …]
|
| /trunk/main/sw/source/ui/uno/ |
| H A D | unodoc.cxx | 48 ::rtl::OUString* pArray = aRet.getArray(); in SwTextDocument_getSupportedServiceNames() 49 … pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.TextDocument" ) ); in SwTextDocument_getSupportedServiceNames() 77 ::rtl::OUString* pArray = aRet.getArray(); in SwWebDocument_getSupportedServiceNames() 78 pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.WebDocument" ) ); in SwWebDocument_getSupportedServiceNames() 104 ::rtl::OUString* pArray = aRet.getArray(); in SwGlobalDocument_getSupportedServiceNames() 105 …pArray[0] = ::rtl::OUString ( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.text.GlobalDocument" ) ); in SwGlobalDocument_getSupportedServiceNames()
|
| /trunk/main/sc/source/filter/excel/ |
| H A D | xelink.cxx | 116 const ScExternalRefCache::TokenArrayRef pArray ); 144 …nst XclExpSupbook& rSupbook, const String& rName, const ScExternalRefCache::TokenArrayRef pArray ); 324 …nt16 InsertExtName( const String& rName, const ScExternalRefCache::TokenArrayRef pArray ); 414 const String& rName, const ScExternalRefCache::TokenArrayRef pArray ); 500 … const String& rName, const ScExternalRefCache::TokenArrayRef pArray ) = 0; 547 const String& rName, const ScExternalRefCache::TokenArrayRef pArray ); 616 const String& rName, const ScExternalRefCache::TokenArrayRef pArray ); 947 const String& rName, const ScExternalRefCache::TokenArrayRef pArray ) : in XclExpExtName() argument 950 mpArray(pArray->Clone()) in XclExpExtName() 1084 const String& rName, const ScExternalRefCache::TokenArrayRef pArray ) in InsertExtName() argument [all …]
|
| /trunk/main/sw/inc/ |
| H A D | index.hxx | 55 SwIndexReg* pArray; member in SwIndex 84 { return (nIndex == rSwIndex.nIndex) && (pArray == rSwIndex.pArray); } in operator ==() 87 { return (nIndex != rSwIndex.nIndex) || (pArray != rSwIndex.pArray); } in operator !=() 108 const SwIndexReg* GetIdxReg() const { return pArray; } in GetIdxReg()
|
| /trunk/main/basic/source/runtime/ |
| H A D | runtime.cxx | 624 SbxDimArray* pArray = new SbxDimArray( SbxVARIANT ); in SetParameters() local 626 pArray->unoAddDim( 0, nParamArrayParamCount - 1 ); in SetParameters() 631 pArray->Put( v, &nDimIndex ); in SetParameters() 635 pArrayVar->PutObject( pArray ); in SetParameters() 692 SbxDimArray* pArray = new SbxDimArray( SbxVARIANT ); in SetParameters() local 693 pArray->unoAddDim( 0, -1 ); in SetParameters() 696 pArrayVar->PutObject( pArray ); in SetParameters() 1147 SbxDimArray* pArray; in PushForEach() local 1149 if( (pArray = PTR_CAST(SbxDimArray,pObj)) != NULL ) in PushForEach() 1152 p->refEnd = (SbxVariable*)pArray; in PushForEach() [all …]
|
| /trunk/main/cppuhelper/source/ |
| H A D | interfacecontainer.cxx | 235 Reference<XInterface> * pArray = pSeq->getArray(); in addInterface() local 236 pArray[0] = aData.pAsInterface; in addInterface() 237 pArray[1] = rListener; in addInterface() 392 Type * pArray = aInterfaceTypes.getArray(); in getContainedTypes() local 403 pArray[i++] = (*iter).first; in getContainedTypes() 408 aInterfaceTypes = ::com::sun::star::uno::Sequence< Type >( pArray, i ); in getContainedTypes() 580 sal_Int32 * pArray = aInterfaceTypes.getArray(); in getContainedTypes() local 591 pArray[i++] = (*iter).first; in getContainedTypes() 596 aInterfaceTypes = ::com::sun::star::uno::Sequence< sal_Int32 >( pArray, i ); in getContainedTypes()
|
| /trunk/main/sc/source/core/tool/ |
| H A D | appoptio.cxx | 168 const sal_Int32* pArray = aSeq.getConstArray(); in lcl_SetLastFunctions() local 171 pUShorts[i] = (sal_uInt16) pArray[i]; in lcl_SetLastFunctions() 187 sal_Int32* pArray = aSeq.getArray(); in lcl_GetLastFunctions() local 189 pArray[i] = pUShorts[i]; in lcl_GetLastFunctions() 202 const OUString* pArray = aSeq.getConstArray(); in lcl_SetSortList() local 208 pArray[0].equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "NULL" ) ) ); in lcl_SetSortList() 216 ScUserListData* pNew = new ScUserListData( pArray[i] ); in lcl_SetSortList() 233 OUString* pArray = aSeq.getArray(); in lcl_GetSortList() local 235 pArray[i] = (*pUserList)[sal::static_int_cast<sal_uInt16>(i)]->GetString(); in lcl_GetSortList()
|