/aoo4110/main/sw/source/core/doc/ |
H A D | acmplwrd.cxx | 268 for(sal_uInt16 nPos = aWordLst.Count(); nPos; nPos--) in ~SwAutoCompleteWord() 313 if( aLRULst.Count() < nMaxCount ) in InsertWord() 354 if( nNewMax < nMaxCount && aLRULst.Count() > nNewMax ) in SetMaxCount() 358 while( nNewMax < aWordLst.Count() && nLRUIndex < aLRULst.Count()) in SetMaxCount() 366 aLRULst.Remove( nNewMax-1, aLRULst.Count() - nNewMax ); in SetMaxCount() 380 for( sal_uInt16 nPos = 0; nPos < aWordLst.Count(); ++nPos ) in SetMinWordLen() 405 while( rEnd < aWordLst.Count() && rSCmp.isMatch( rWord, *aWordLst[ rEnd ])) in GetRange() 413 sal_uInt16 nMyLen = aWordLst.Count(), nNewLen = rNewLst.Count(); in CheckChangedList() 457 for(sal_uInt16 nPos = aWordLst.Count(); nPos; nPos--) in DocumentDying()
|
H A D | docglbl.cxx | 91 for( sal_uInt16 n = rFmtColls.Count(); n; ) in GenerateHTMLDoc() 136 if( !pOutlNds->Count() ) in SplitDoc() 147 for( sal_uInt16 n = rFmtColls.Count(); n; ) in SplitDoc() 203 while( nOutl < pOutlNds->Count() && in SplitDoc() 211 for( ; nOutl < pOutlNds->Count(); ++nOutl ) in SplitDoc() 314 pDoc->GetSpzFrmFmts()->Count() ) in SplitDoc() 483 while( GetSections().Count() ) in SplitDoc() 564 while( nOutl < pOutlNds->Count() && in SplitDoc() 572 for( ; nOutl < pOutlNds->Count(); ++nOutl ) in SplitDoc() 665 pDoc->GetSpzFrmFmts()->Count() ) in SplitDoc() [all …]
|
H A D | docnum.cxx | 200 for( n = 0; n < pTxtFmtCollTbl->Count(); ++n ) in OutlineUpDown() 659 if(!rOutlNds.Count()) in lcl_FindOutlineNum() 664 for( ; nPos < rOutlNds.Count(); ++nPos ) in lcl_FindOutlineNum() 706 if( nPos >= rOutlNds.Count() ) in lcl_FindOutlineNum() 2130 nRedlPos = GetRedlineTbl().Count(); in MoveParagraph() 2422 for( sal_uInt16 n = pNumRuleTbl->Count(); n; ) in FindNumRule() 2501 sal_uInt16 nRet = pNumRuleTbl->Count(); in MakeNumRule() 2561 for( n = 0; n < pNumRuleTbl->Count(); ++n ) in GetUniqueNumRuleName() 2569 if( nNum-- && nNum < pNumRuleTbl->Count() ) in GetUniqueNumRuleName() 2579 nNum = pNumRuleTbl->Count(); in GetUniqueNumRuleName() [all …]
|
H A D | docdesc.cxx | 233 for( sal_uInt16 nPos = 0; nPos < rFtnIdxs.Count(); ++nPos ) in ChgPageDesc() 485 for ( sal_uInt16 j = 0; j < aPageDescs.Count(); ++j ) in PreDelPageDesc() 585 aPageDescs.Insert( pNew, aPageDescs.Count() ); in MakePageDesc() 600 return (aPageDescs.Count()-1); in MakePageDesc() 740 0, pNodes->Count(), GetDocShell()); in PrtOLENotify() 743 for( sal_uInt16 i = 0; i < pNodes->Count(); ++i ) in PrtOLENotify() 765 j < pGlobalOLEExcludeList->Count() && !bFound; in PrtOLENotify() 793 pGlobalOLEExcludeList->Count() ); in PrtOLENotify() 814 0, pNodes->Count(), GetDocShell()); 818 for( sal_uInt16 i = 0; i < pNodes->Count(); ++i ) [all …]
|
/aoo4110/main/basic/source/comp/ |
H A D | symtbl.cxx | 59 if( !n || n > aData.Count() ) in Find() 70 sal_uInt16 n = aData.Count(); in Add() 119 aData.DeleteAndDestroy( 0, aData.Count() ); in Clear() 130 if( ++nCur >= aData.Count() ) in Next() 141 p->nPos = aData.Count(); in AddSym() 153 p->nPos = aData.Count(); in AddProc() 178 pDef->nPos = aData.Count(); in Add() 205 sal_uInt16 nCount = aData.Count(); in Find() 223 for( sal_uInt16 i = 0; i < aData.Count(); i++ ) in FindId() 239 if( n >= aData.Count() ) in Get() [all …]
|
/aoo4110/main/basic/source/sbx/ |
H A D | sbxbase.cxx | 152 sal_uInt16 nPos = p->aFacs.Count(); // Einfuege-Position in AddFactory() 166 for( sal_uInt16 i = 0; i < p->aFacs.Count(); i++ ) in RemoveFactory() 202 for( sal_uInt16 i = 0; i < p->aFacs.Count(); i++ ) in Create() 224 for( sal_uInt16 i = 0; i < p->aFacs.Count(); i++ ) in CreateObject() 395 aParams.Insert( p, aParams.Count() ); in AddParam() 402 aParams.Insert( p, aParams.Count() ); in AddParam() 407 if( n < 1 || n > aParams.Count() ) in GetParam() 415 aParams.Remove( 0, aParams.Count() ); in LoadData() 430 SbxParamInfo* p = aParams.GetObject( aParams.Count() - 1 ); in LoadData() 440 rStrm << nHelpId << aParams.Count(); in StoreData() [all …]
|
/aoo4110/main/svtools/source/control/ |
H A D | taskbox.cxx | 133 mnOldItemCount = mpItemList->Count(); in Resize() 206 while ( mpItemList->Count() > mnUpdatePos ) in ImplFormatTaskToolBox() 214 if ( mpItemList->Count() ) in ImplFormatTaskToolBox() 218 nWinSize -= mpItemList->Count()*nItemSize; in ImplFormatTaskToolBox() 220 nWinSize /= mpItemList->Count(); in ImplFormatTaskToolBox() 243 while ( i < mpItemList->Count() ) in ImplFormatTaskToolBox() 291 mnOldItemCount = mpItemList->Count(); in StartUpdateTask() 308 while ( mpItemList->Count() > mnUpdatePos ) in UpdateTask() 338 while ( mpItemList->Count() > mnUpdatePos ) in EndUpdateTask()
|
/aoo4110/main/sw/source/core/unocore/ |
H A D | unosett.cxx | 1362 sal_uInt16 nChCount = pFmts->Count(); in replaceByIndex() 1483 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1488 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1493 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1498 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1514 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1519 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1596 aPropertyValues.Insert(pData, aPropertyValues.Count()); in GetNumberingRuleByIndex() 1683 const sal_uInt16 nCount = pColls->Count(); in GetNumberingRuleByIndex() 1717 for(sal_uInt16 i = 0; i < aPropertyValues.Count(); i++) in GetNumberingRuleByIndex() [all …]
|
/aoo4110/main/sw/source/filter/ww1/ |
H A D | w1class.cxx | 231 for (sal_uInt16 stc=0;stc<Count();stc++) in Ww1StyleSheet() 531 DBG_ASSERT(index < Count(), "Ww1Sprm"); in Fill() 970 if (nIndex<=Count()) in Where() 979 if (nIndex<=Count()) in GetData() 1087 if (nPlcIndex < Count()) in Where() 1096 if (nFkpIndex <= pPap->Count()) in Where() 1105 if (++nFkpIndex > pPap->Count()) in operator ++() 1118 sal_uInt16 nC = aSprm.Count(); in FindSprm() 1188 if (nPlcIndex < Count()) in Where() 1197 if (nFkpIndex <= pChp->Count()) in Where() [all …]
|
/aoo4110/main/sw/source/core/fields/ |
H A D | fldlst.cxx | 51 const sal_uInt16 nSize = rFldTypes.Count(); in SwInputFieldList() 79 aTmpLst.Insert( pTmp, aTmpLst.Count() ); in SwInputFieldList() 102 sal_uInt16 SwInputFieldList::Count() const in Count() function in SwInputFieldList 104 return pSrtLst->Count(); in Count() 147 sal_uInt16 nSize = rFldTypes.Count(); in BuildSortLst() 189 aTmpLst.Remove( 0, aTmpLst.Count() ); in BuildSortLst() 190 return pSrtLst->Count(); in BuildSortLst() 203 for (sal_uInt16 i = 0; i < Count();) in RemoveUnselectedFlds()
|
/aoo4110/main/sc/source/ui/unoobj/ |
H A D | viewuno.cxx | 497 if (aMouseClickHandlers.Count()) in ~ScTabViewObj() 502 if (aActivationListeners.Count()) in ~ScTabViewObj() 585 if (aActivationListeners.Count() > 0) in SheetChanged() 672 sal_uLong nCount = rRanges.Count(); in lcl_TabInRanges() 785 sal_uLong nRangeCount = rRanges.Count(); in select() 959 switch (aRangeList.Count()) in getSelection() 1194 if ( rRanges.Count() == 1 ) in setActiveSheet() 1260 if ( aMouseClickHandlers.Count() > 0 ) in IsMouseListening() 1369 if (aMouseClickHandlers.Count()) in MouseReleased() 2184 sal_uInt16 nCount = aRangeSelListeners.Count(); in removeRangeSelectionListener() [all …]
|
/aoo4110/main/svtools/source/config/ |
H A D | fontsubstconfig.cxx | 107 pImpl->aSubstArr.Insert(pInsert, pImpl->aSubstArr.Count()); in SvtFontSubstConfig() 133 if(!pImpl->aSubstArr.Count()) in Commit() 137 Sequence<PropertyValue> aSetValues(4 * pImpl->aSubstArr.Count()); in Commit() 147 for(sal_uInt16 i = 0; i < pImpl->aSubstArr.Count(); i++) in Commit() 172 return pImpl->aSubstArr.Count(); in SubstitutionCount() 179 pImpl->aSubstArr.DeleteAndDestroy(0, pImpl->aSubstArr.Count()); in ClearSubstitutions() 186 DBG_ASSERT(nPos >= 0 && nPos < pImpl->aSubstArr.Count(), "illegal array index"); in GetSubstitution() 187 if(nPos >= 0 && nPos < pImpl->aSubstArr.Count()) in GetSubstitution() 197 pImpl->aSubstArr.Insert(pInsert, pImpl->aSubstArr.Count()); in AddSubstitution()
|
/aoo4110/main/tools/source/communi/ |
H A D | geninfo.cxx | 151 for(i=0;i<rList.Count();i++) in GenericInformationList() 171 while ( Count() ) { in ~GenericInformationList() 183 if ( Count() == 0 ) { in Search() 232 GenericInformation *pReturnInfo = Search( nPos, sKey, 0, Count() - 1 ); in GetInfo() 265 if ( Count() == 0 ) { in InsertSorted() 275 if ( nStart == 0 && Count()-1 == nEnd ) in InsertSorted() 286 if ( Count() == 1 ) { in InsertSorted() 327 if ( nActPos == Count() - 1 ) { in InsertSorted() 354 InsertSorted( pInfo, bOverwrite, 0, Count() - 1 ); in InsertInfo()
|
/aoo4110/main/svtools/source/contnr/ |
H A D | imivctl1.cxx | 228 sal_uLong nCount = aEntries.Count(); in Clear() 302 pEntry->nPos = aEntries.Count() - 1; in InsertEntry() 380 sal_uLong nCount = aEntries.Count(); in SetListPositions() 624 sal_uLong nCount = aEntries.Count(); in InitPredecessors() 653 sal_uLong nCount = aEntries.Count(); in ClearPredecessors() 758 if( !aEntries.Count() ) in Paint() 818 nCount = pPaintedEntries->Count(); in Paint() 3479 if( !rRow.Count() ) in AdjustAtGrid() 4197 if( aEntries.Count() ) in SetPositionMode() 4232 nCount = aMovedEntries.Count(); in SetPositionMode() [all …]
|
/aoo4110/main/sw/source/filter/html/ |
H A D | htmltabw.cxx | 167 sal_uInt16 nCount = rLines.Count(); in HasTabBackground() 198 sal_uInt16 nCount = rBoxes.Count(); in HasTabBackground() 514 if( rCells.Count() > 1 ) in OutTableCells() 582 if( !(aCols[aCols.Count()-1])->bRightBorder ) in Write() 589 for( nRow=1; nRow < aRows.Count(); nRow++ ) in Write() 613 for( nCol=1; nCol<aCols.Count(); nCol++ ) in Write() 750 if( aCols.Count() > 1 && aRows.Count() > 1 ) in Write() 776 else if( aRows.Count() > 1 ) in Write() 783 else if( aCols.Count() > 1 ) in Write() 823 sal_uInt16 nCols = aCols.Count(); in Write() [all …]
|
/aoo4110/main/svx/source/svdraw/ |
H A D | svdoashp.cxx | 811 if ( !rSegInfo.Count ) in MergeDefaultAttributes() 812 rSegInfo.Count = 1; in MergeDefaultAttributes() 819 if ( !rSegInfo.Count ) in MergeDefaultAttributes() 820 rSegInfo.Count = 1; in MergeDefaultAttributes() 827 if ( !rSegInfo.Count ) in MergeDefaultAttributes() 828 rSegInfo.Count = 1; in MergeDefaultAttributes() 834 rSegInfo.Count = 0; in MergeDefaultAttributes() 840 rSegInfo.Count = 0; in MergeDefaultAttributes() 894 rSegInfo.Count = 0; in MergeDefaultAttributes() 900 rSegInfo.Count = 0; in MergeDefaultAttributes() [all …]
|
/aoo4110/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 89 if( nPos < Count() ) in Insert() 112 ASSERT_ID( nArrPos < Count(), ERR_VAR_IDX ); in SetPam() 156 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in NoNum() 175 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in SelectionHasNumber() 221 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in SelectionHasBullet() 301 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in DelNumRules() 339 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in NumUpDown() 601 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in OutlineUpDown() 635 for( ; nPos < rOutlNd.Count(); ++nPos ) in IsProtectedOutlinePara() 833 for( sal_uInt16 n = 0; n < aRangeArr.Count(); ++n ) in SetNumRuleStart() [all …]
|
/aoo4110/main/idl/source/prj/ |
H A D | database.cxx | 92 if( aTypeList.Count() == 0 ) in GetTypeList() 138 for( sal_uLong n = 0; n < aModuleList.Count(); n++ ) in GetModule() 657 for( sal_uLong i = 0; i < aAttrList.Count(); i++ ) in SearchKnownAttr() 679 for( sal_uLong n = 0; n < aClassList.Count(); n++ ) in ReadKnownClass() 909 for( sal_uLong n = 0; n < GetModuleList().Count(); n++ ) in WriteSvIdl() 932 for( n = 0; n < GetModuleList().Count(); n++ ) in WriteSfx() 939 for( n = 0; n < aUsedTypes.Count(); n++ ) in WriteSfx() 956 for( n = 0; n < GetModuleList().Count(); n++ ) in WriteHelpIds() 964 for( n = 0; n < rAttrList.Count(); n++ ) in WriteHelpIds() 998 sal_uLong nCount = rList.Count(); in WriteCSV() [all …]
|
/aoo4110/main/sw/source/filter/xml/ |
H A D | xmltbli.cxx | 350 ASSERT( nCol < aCells.Count(), in GetCell() 368 aCells.Count() ); in Expand() 372 ASSERT( nCells<=aCells.Count(), in Expand() 1561 if( nLast > aColumnWidths.Count() ) in GetColumnWidth() 1562 nLast = aColumnWidths.Count(); in GetColumnWidth() 1656 if( pRows->Count() < nRowsReq ) in InsertCell() 1661 pRows->Count() ); in InsertCell() 1709 if( nCurRow < pRows->Count() ) in InsertRow() 1721 pRows->Count() ); in InsertRow() 2421 if( pRows->Count() > nCurRow ) in _MakeTable() [all …]
|
/aoo4110/main/sw/source/ui/app/ |
H A D | docstyle.cxx | 321 if( rLst.Count() ) in lcl_FindName() 335 for( sal_uInt16 i=0; i < rLst.Count(); ++i ) in lcl_FindName() 371 for ( sal_uInt16 i=0; i < Count(); ++i ) in Append() 379 Insert( pStr, Count() ); in Append() 389 DeleteAndDestroy( 0, Count() ); in Erase() 1358 if( pFmt && rSet.Count()) in SetItemSet() 2454 sal_uInt16 SwStyleSheetIterator::Count() in Count() function in SwStyleSheetIterator 2459 return aLst.Count(); in Count() 2799 if(aLst.Count() > 0) in First() 2810 if(aLst.Count() > 0 && nLastPos < aLst.Count()) in Next() [all …]
|
/aoo4110/main/tools/source/generic/ |
H A D | poly2.cxx | 200 DBG_ASSERT( nPos < Count(), "PolyPolygon::Remove(): nPos >= nSize" ); in Remove() 201 if ( nPos >= Count() ) return; // not removable in Remove() 221 DBG_ASSERT( nPos < Count(), "PolyPolygon::Replace(): nPos >= nSize" ); in Replace() 222 if ( nPos >= Count() ) return; // not replaceable in Replace() 249 if ( Count() == 1 ) in IsRect() 286 if(nOptimizeFlags && Count()) in Optimize() 291 for(sal_uInt16 a(0); !bIsCurve && a < Count(); a++) in Optimize() 446 sal_uInt16 PolyPolygon::Count() const in Count() function in PolyPolygon 678 DBG_ASSERT( nPos < Count(), "PolyPolygon::[](): nPos >= nSize" ); in operator []() 726 if ( Count() != rPolyPoly.Count() ) in IsEqual() [all …]
|
/aoo4110/main/sw/source/core/docnode/ |
H A D | node.cxx | 583 for( n = 0; n < rFmts.Count(); ++n ) in FindPageDesc() 632 if( n >= rFmts.Count() ) in FindPageDesc() 789 for( sal_uInt16 n = 0; n < rFrmFmtTbl.Count(); ++n ) in GetFlyFmt() 832 if( MAXLEVEL > nLvl && rONds.Count() ) in FindOutlineNodeOfLevel() 1757 return aNew.Count(); in ResetAllAttr() 1763 if( rSet.Count() ) in GetAttr() 1771 return rSet.Count() ? sal_True : sal_False; in GetAttr() 1825 while( aIdx < rNds.Count()-1 && in CanJoinNext() 1968 if( rOutlNds.Count() ) in IsAnyCondition() 1972 if( nPos < rOutlNds.Count() && in IsAnyCondition() [all …]
|
/aoo4110/main/svtools/source/brwbox/ |
H A D | brwbox1.cxx | 410 if ( nItemPos >= pCols->Count() ) in FreezeColumn() 484 if ( nOldPos >= pCols->Count() ) in SetColumnPos() 597 if ( nColumnPos >= pCols->Count() ) in SetColumnMode() 626 if ( nItemPos >= pCols->Count() ) in SetColumnTitle() 669 if ( nItemPos >= pCols->Count() ) in SetColumnWidth() 715 if ( nItemPos != pCols->Count() - 1 ) in SetColumnWidth() 773 if ( nItemPos != pCols->Count() - 1 ) in SetColumnWidth() 880 unsigned int nOldCount = pCols->Count(); in RemoveColumns() 882 while ( pCols->Count() ) in RemoveColumns() 951 if ( nItemPos >= pCols->Count() ) in GetColumnTitle() [all …]
|
/aoo4110/main/sfx2/source/bastyp/ |
H A D | sfxhtml.cxx | 105 for( sal_uInt16 i=pOptions->Count(); i; ) in ParseMapOptions() 136 for( sal_uInt16 i=pOptions->Count(); i; ) in ParseAreaOptions() 198 if( aCoords.Count() >=4 ) in ParseAreaOptions() 204 if( aMacroTbl.Count() ) in ParseAreaOptions() 210 if( aCoords.Count() >=3 ) in ParseAreaOptions() 215 if( aMacroTbl.Count() ) in ParseAreaOptions() 221 if( aCoords.Count() >=6 ) in ParseAreaOptions() 223 sal_uInt16 nCount = aCoords.Count() / 2; in ParseAreaOptions() 229 if( aMacroTbl.Count() ) in ParseAreaOptions()
|
/aoo4110/main/sw/source/ui/envelp/ |
H A D | envfmt.cxx | 197 aIDs.Insert((sal_uInt16) PAPER_USER, aIDs.Count()); in SwEnvFmtPage() 226 for (sal_uInt16 i = 0; i < aIDs.Count(); i++) in IMPL_LINK_INLINE_START() 354 if( pOutputSet->Count() ) in IMPL_LINK_INLINE_END() 415 aCompactedRanges.Insert(aMergedRanges[0], aCompactedRanges.Count()); in GetCollItemSet() 417 for (i = 0; i < aMergedRanges.Count(); i++) in GetCollItemSet() 419 while (i + 1 < aMergedRanges.Count() && in GetCollItemSet() 425 aCompactedRanges.Insert(nEnd, aCompactedRanges.Count()); in GetCollItemSet() 427 if (i + 1 < aMergedRanges.Count()) in GetCollItemSet() 430 aCompactedRanges.Insert(nStart, aCompactedRanges.Count()); in GetCollItemSet() 436 for (i = 0; i < aCompactedRanges.Count(); i++) in GetCollItemSet() [all …]
|