/trunk/main/sw/source/core/text/ |
H A D | txtfrm.cxx | 975 xub_StrLen nPos, nLen; in Modify() local 988 nPos = ((SwInsTxt*)pNew)->nPos; in Modify() 995 if( nPos ) in Modify() 1012 nPos = ((SwDelChr*)pNew)->nPos; in Modify() 1062 SET_WRONG( nPos, nPos + nLen, false ) in Modify() 1120 SET_WRONG( nPos, nPos + 1, false ) in Modify() 1626 if( nPos ) in Prepare() 1627 --nPos; in Prepare() 1660 xub_StrLen nPos; in Prepare() local 1812 if( nPos ) in Prepare() [all …]
|
/trunk/main/vcl/source/window/ |
H A D | splitwin.cxx | 512 long nPos; in ImplCalcSet() local 1126 nPos++; in ImplDrawSplit() 1155 nPos++; in ImplDrawSplit() 1262 long nPos; in ImplTestSplit() local 2886 if ( nPos ) in InsertItem() 2889 memcpy( pNewItems+nPos+1, pSet->mpItems+nPos, sizeof( ImplSplitItem )*(pSet->mnItems-nPos) ); in InsertItem() 2964 memmove( pSet->mpItems+nPos, pSet->mpItems+nPos+1, in MoveItem() 2986 memmove( pSet->mpItems+nPos, pSet->mpItems+nPos+1, in MoveItem() 3036 memmove( pSet->mpItems+nPos, pSet->mpItems+nPos+1, in RemoveItem() 3335 else if ( nPos && (nPos >= pSet->mnItems-1) ) in SplitItem() [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | impastp4.cxx | 87 sal_uLong nPos; in AddFamily() local 115 sal_uLong nPos; in RegisterName() local 186 sal_uLong nPos; in Add() local 236 sal_uLong nPos; in AddNamed() local 275 sal_uLong nPos; in AddToCache() local 307 sal_uLong nPos; in Find() local 334 sal_uLong nPos; in FindAndRemoveCached() local 376 sal_uLong nPos; in exportXML() local 416 nPos = pProperties->GetPos(); in exportXML() 417 DBG_ASSERT( nPos < nCount, in exportXML() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | attarray.cxx | 107 for (nPos=0; nPos<nCount; nPos++) in TestData() 110 if (pData[nPos].pPattern == pData[nPos-1].pPattern || pData[nPos].nRow <= pData[nPos-1].nRow) in TestData() 115 if ( nPos && pData[nPos-1].nRow != MAXROW ) in TestData() 198 pData[nPos - 1].nRow = pData[nPos].nRow; in Concat() 200 memmove(&pData[nPos], &pData[nPos + 1], (nCount - nPos - 1) * sizeof(ScAttrEntry)); in Concat() 204 nPos--; in Concat() 212 pData[nPos].nRow = pData[nPos + 1].nRow; in Concat() 214 memmove(&pData[nPos + 1], &pData[nPos + 2], (nCount - nPos - 2) * sizeof(ScAttrEntry)); in Concat() 903 ++nPos; in MergePatternArea() 1779 ++nPos; in FindStyleSheet() [all …]
|
/trunk/main/svl/source/items/ |
H A D | aeitem.cxx | 118 for ( sal_uInt16 nPos = 0; nPos < rCopy.pValues->Count(); ++nPos ) in SfxAllEnumItem() local 124 pValues->Insert( pTemp, nPos ); in SfxAllEnumItem() 130 for ( sal_uInt16 nPos = 0; nPos < rCopy.pDisabledValues->Count(); ++nPos ) in SfxAllEnumItem() local 133 nPos ); in SfxAllEnumItem() 161 return pValues->GetObject(nPos)->aText; in GetValueTextByPos() 170 return pValues->GetObject(nPos)->nValue; in GetValueByPos() 208 sal_uInt16 nPos; in _GetPosByValue() local 209 for ( nPos = 0; nPos < pValues->Count(); ++nPos ) in _GetPosByValue() 211 return nPos; in _GetPosByValue() 212 return nPos; in _GetPosByValue() [all …]
|
/trunk/main/cppu/source/uno/ |
H A D | eq.hxx | 137 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 160 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 162 if (((float *)pDestElements)[nPos] != ((float *)pSourceElements)[nPos]) in _equalSequence() 169 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 178 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 187 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 199 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 220 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 240 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local 266 for ( sal_Int32 nPos = nElements; nPos--; ) in _equalSequence() local [all …]
|
/trunk/main/svtools/source/control/ |
H A D | ctrlbox.cxx | 119 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry() 125 return nPos; in InsertEntry() 133 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry() 139 return nPos; in InsertEntry() 421 nPos = ListBox::InsertEntry( rStr, nPos ); in InsertEntry() 424 return nPos; in InsertEntry() 435 nPos = ListBox::InsertEntry( aStr, aBmp, nPos ); in InsertEntry() 445 return nPos; in InsertEntry() 1282 sal_uInt16 nPos = 0; in Fill() local 1296 nPos++; in Fill() [all …]
|
/trunk/main/stoc/source/corereflection/ |
H A D | criface.cxx | 649 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in invoke() local 663 ppUnoArgs[nPos], (void *)pCppArgs[nPos].getValue(), in invoke() 670 (uno_Any *)ppUnoArgs[nPos], (void *)pCppArgs[nPos].getValue(), in invoke() 712 while (nPos--) in invoke() 715 uno_destructData( ppUnoArgs[nPos], ppParamTypes[nPos], 0 ); in invoke() 798 for ( sal_Int32 nPos = _nMethods + _nAttributes; nPos--; ) in ~InterfaceIdlClassImpl() local 827 for ( sal_Int32 nPos = 0; nPos < nAll; ++nPos ) in initMembers() local 890 for ( sal_Int32 nPos = _nMethods; nPos--; ) in getMethods() local 910 for ( sal_Int32 nPos = _nAttributes; nPos--; ) in getFields() local 936 for ( sal_Int32 nPos = _nMethods; nPos--; ) in getMethod() local [all …]
|
/trunk/main/svgio/source/svgreader/ |
H A D | svgstylenode.cxx | 101 sal_Int32 nPos(0); in addCssStyleSheet() local 105 while(nPos < nLen) in addCssStyleSheet() 117 if(nInitPos == nPos) in addCssStyleSheet() 120 nPos++; in addCssStyleSheet() 170 sal_Int32 nPos(0); in addCssStyleSheet() local 173 while(nPos < nLen) in addCssStyleSheet() 186 if(nInitPos == nPos) in addCssStyleSheet() 189 nPos++; in addCssStyleSheet() 201 sal_Int32 nPos(0); in addCssStyleSheet() local 204 while(nPos < nLen) in addCssStyleSheet() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | checklbx.cxx | 99 if ( nPos < GetEntryCount() ) in RemoveEntry() 107 if ( nPos < GetEntryCount() ) in SelectEntryPos() 108 Select( GetEntry( nPos ), bSelect ); in SelectEntryPos() 126 SvLBoxEntry* pEntry = GetEntry( nPos ); in GetText() 152 if ( nPos < GetEntryCount() ) in CheckEntryPos() 162 if ( nPos < GetEntryCount() ) in IsChecked() 174 if ( nPos < GetEntryCount() ) in SetEntryData() 176 pOld = GetEntry( nPos )->GetUserData(); in SetEntryData() 177 GetEntry( nPos )->SetUserData( pNewData ); in SetEntryData() 186 if ( nPos < GetEntryCount() ) in GetEntryData() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | combobox.cxx | 47 return nPos+1; in ImplCreateKey() 59 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in lcl_GetSelectedEntries() 1044 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos() 1045 return nPos; in GetEntryPos() 1054 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos() 1055 return nPos; in GetEntryPos() 1477 nPos = 0; in GetTopEntry() 1478 return nPos; in GetTopEntry() 1536 nPos = mpImplLB->GetEntryList()->FindEntry( mpImplLB->GetEntryList()->GetEntryText( nPos ) ); in GetSelectEntryPos() 1537 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetSelectEntryPos() [all …]
|
H A D | lstbox.cxx | 1137 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in GetEntryPos() 1138 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos() 1139 return nPos; in GetEntryPos() 1148 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetEntryPos() 1149 return nPos; in GetEntryPos() 1188 nPos = mpImplLB->GetEntryList()->FindEntry( mpImplLB->GetEntryList()->GetEntryText( nPos ) ); in GetSelectEntryPos() 1189 nPos = sal::static_int_cast<sal_uInt16>(nPos - mpImplLB->GetEntryList()->GetMRUCount()); in GetSelectEntryPos() 1191 return nPos; in GetSelectEntryPos() 1227 if (nCurrentPos != nPos && bSelect) in SelectEntryPos() 1284 nPos = 0; in GetTopEntry() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_s390/ |
H A D | cpp2uno.cxx | 102 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 116 pCppArgs[nPos] = fpreg; in cpp2uno_call() 117 pUnoArgs[nPos] = fpreg; in cpp2uno_call() 121 pCppArgs[nPos] = ovrflw; in cpp2uno_call() 122 pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 147 pCppArgs[nPos] = gpreg; in cpp2uno_call() 148 pUnoArgs[nPos] = gpreg; in cpp2uno_call() 152 pCppArgs[nPos] = ovrflw; in cpp2uno_call() 153 pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 191 pCppArgs[nPos] = gpreg; in cpp2uno_call() [all …]
|
/trunk/main/unodevtools/source/skeletonmaker/ |
H A D | skeletonmaker.cxx | 155 sal_Int32 nPos = 0; variable 161 rtl_getAppCommandArg(nPos++, &arg.pData); 175 } else if ( readOption( &bOption, "h", &nPos, arg) || 194 while ( nPos < nCount ) 196 rtl_getAppCommandArg(nPos, &arg.pData); 198 if ( readOption( &bOption, "a", &nPos, arg) || 218 if ( readOption( &bOption, "sn", &nPos, arg) || 223 if ( readOption( &bOption, "lh", &nPos, arg) || 228 if ( readOption( &bOption, "bc", &nPos, arg) || 237 if ( readOption( &sOption, "d", &nPos, arg) ) { [all …]
|
/trunk/main/vcl/inc/ |
H A D | ilstbox.hxx | 116 …ImplEntryType* GetEntry( sal_uInt16 nPos ) const { return (ImplEntryType*)List::GetObject( nPos );… in GetEntry() 123 void RemoveEntry( sal_uInt16 nPos ); 124 …const ImplEntryType* GetEntryPtr( sal_uInt16 nPos ) const { return (const ImplEntryType*) GetObje… in GetEntryPtr() 125 …tryType* GetMutableEntryPtr( sal_uInt16 nPos ) const { return (ImplEntryType*) GetObject(… in GetMutableEntryPtr() 148 void* GetEntryData( sal_uInt16 nPos ) const; 161 void SetLastSelected( sal_uInt16 nPos ) { mnLastSelected = nPos; } in SetLastSelected() argument 164 void SetSelectionAnchor( sal_uInt16 nPos ) { mnSelectionAnchor = nPos; } in SetSelectionAnchor() argument 292 void RemoveEntry( sal_uInt16 nPos ); 447 void RemoveEntry( sal_uInt16 nPos ); 448 …void SetEntryData( sal_uInt16 nPos, void* pNewData ) { maLBWindow.GetEntryList()->SetEntryData( … in SetEntryData() argument [all …]
|
/trunk/main/toolkit/source/layout/vcl/ |
H A D | wfield.cxx | 339 if ( nPos == COMBOBOX_APPEND ) in InsertEntry() 340 nPos = GetEntryCount(); in InsertEntry() 342 return nPos; in InsertEntry() 345 void RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument 447 getImpl()->RemoveEntry( nPos ); in RemoveEntry() 514 if ( nPos == LISTBOX_APPEND ) in InsertEntry() 517 return nPos; in InsertEntry() 520 void RemoveEntry( sal_uInt16 nPos ) in RemoveEntry() argument 527 if ( nPos == LISTBOX_APPEND ) in RemoveEntry() 530 return nPos; in RemoveEntry() [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 204 nPos++; in convertMeasure() 206 if( nPos < nLen && sal_Unicode('-') == rString[nPos] ) in convertMeasure() 209 ++nPos; in convertMeasure() 220 ++nPos; in convertMeasure() 223 if( nPos < nLen && sal_Unicode('.') == rString[nPos] ) in convertMeasure() 225 ++nPos; in convertMeasure() 240 ++nPos; in convertMeasure() 1326 for( ; nPos < nLen; nPos++ ) in indexOfComma() 1400 _rContentX = _sValue.copy(nPos, nFound - nPos); in lcl_getPositions() 1408 _rContentY = _sValue.copy(nPos, nFound - nPos); in lcl_getPositions() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | acmplwrd.cxx | 209 String( rStr, nPos, nLen ) in SwAutoCompleteString() 268 for(sal_uInt16 nPos = aWordLst.Count(); nPos; nPos--) in ~SwAutoCompleteWord() local 271 aWordLst.Remove( nPos - 1 ); in ~SwAutoCompleteWord() 363 aWordLst.Remove(nPos); in SetMaxCount() 380 for( sal_uInt16 nPos = 0; nPos < aWordLst.Count(); ++nPos ) in SetMinWordLen() local 381 if( aWordLst[ nPos ]->Len() < n ) in SetMinWordLen() 383 void* pDel = aWordLst[ nPos ]; in SetMinWordLen() 389 --nPos; in SetMinWordLen() 426 aLRULst.Remove( nPos ); in CheckChangedList() 441 aLRULst.Remove( nPos ); in CheckChangedList() [all …]
|
/trunk/main/cppu/source/helper/purpenv/ |
H A D | helper_purpenv_Proxy.cxx | 84 for ( sal_Int32 nPos = pComp->nMembers; nPos--; ) in relatesToInterface() local 86 switch (pTypes[nPos]->eTypeClass) in relatesToInterface() 98 TYPELIB_DANGER_GET( &pTD, pTypes[nPos] ); in relatesToInterface() 432 for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) in dispatch() local 442 uno_copyAndConvertData(args[nPos], pArgs[nPos], td, m_from_to.get()); in dispatch() 447 args[nPos] = pArgs[nPos]; in dispatch() 460 for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) in dispatch() local 462 if (args[nPos] != pArgs[nPos]) in dispatch() 472 args[ nPos ], in dispatch() 493 for (sal_Int32 nPos = 0; nPos < nParams; ++ nPos) in dispatch() local [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_hppa/ |
H A D | cpp2uno.cxx | 115 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 135 pCppArgs[nPos] = pUnoArgs[nPos] = fpreg; in cpp2uno_call() 144 pCppArgs[nPos] = pUnoArgs[nPos] = ((char*)ovrflw - 4); in cpp2uno_call() 152 pCppArgs[nPos] = pUnoArgs[nPos] = fpreg; in cpp2uno_call() 159 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 174 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() 199 pCppArgs[nPos] = pUnoArgs[nPos] = ((char*)ovrflw+3); in cpp2uno_call() 209 pCppArgs[nPos] = pUnoArgs[nPos] = ((char*)gpreg+2); in cpp2uno_call() 216 pCppArgs[nPos] = pUnoArgs[nPos] = ((char*)ovrflw+2); in cpp2uno_call() 227 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | xepivot.cxx | 294 for( size_t nPos = 0, nSize = rItemList.GetSize(); nPos < nSize; ++nPos ) in GetItemIndex() local 773 for( size_t nPos = 0, nSize = maFieldList.GetSize(); !pField && (nPos < nSize); ++nPos ) in GetFieldAcc() local 895 for( nPos = 0; nPos < nSize; ++nPos ) in WriteSxindexlistList() 901 for( nPos = 0; nPos < nSize; ++nPos ) in WriteSxindexlistList() 1033 for( size_t nPos = 0, nSize = maItemList.GetSize(); nPos < nSize; ++nPos ) in GetItemIndex() local 1222 for( size_t nPos = 0, nSize = maItemList.GetSize(); !pItem && (nPos < nSize); ++nPos ) in GetItemAcc() local 1361 for( size_t nPos = 0, nSize = maFieldList.GetSize(); !pField && (nPos < nSize); ++nPos ) in GetFieldAcc() local 1458 for( size_t nPos = 0, nSize = maFieldList.GetSize(); nPos < nSize; ++nPos ) in Finalize() local 1748 for( size_t nPos = 0, nSize = maPTableList.GetSize(); nPos < nSize; ++nPos ) in WritePivotTables() local 1758 for( size_t nPos = 0, nSize = maPTableList.GetSize(); nPos < nSize; ++nPos ) in WritePivotTablesXml() local [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | trvlfnfl.cxx | 190 sal_uInt16 nPos; in GotoNextFtnAnchor() local 206 for( ++nPos; nPos < rFtnArr.Count(); ++nPos ) in GotoNextFtnAnchor() 214 else if( nPos ) in GotoNextFtnAnchor() 218 while( nPos ) in GotoNextFtnAnchor() 232 pTxtFtn = rFtnArr[ nPos ]; in GotoNextFtnAnchor() 251 sal_uInt16 nPos; in GotoPrevFtnAnchor() local 260 pTxtFtn = rFtnArr[ nPos ]; in GotoPrevFtnAnchor() 264 for( ++nPos; nPos < rFtnArr.Count(); ++nPos ) in GotoPrevFtnAnchor() 274 else if( nPos ) in GotoPrevFtnAnchor() 278 while( nPos ) in GotoPrevFtnAnchor() [all …]
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | WNameMatch.cxx | 208 m_pParent->m_vColumnTypes[nPos] = nType; in LeavePage() 232 --nPos; in IMPL_LINK() 234 nPos += 2; in IMPL_LINK() 263 --nPos; in IMPL_LINK() 265 nPos += 2; in IMPL_LINK() 291 pOldEntry = m_CTRL_RIGHT.GetEntry(nPos); 295 if ( nNewPos - nPos == 1 ) 303 pOldEntry = m_CTRL_RIGHT.GetEntry(nPos); 325 pOldEntry = m_CTRL_LEFT.GetEntry(nPos); 329 if ( nNewPos - nPos == 1 ) [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_powerpc64/ |
H A D | cpp2uno.cxx | 107 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 134 pCppArgs[nPos] = pUnoArgs[nPos] = fpreg++; in cpp2uno_call() 139 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 148 pCppArgs[nPos] = pUnoArgs[nPos] = (((char *)gpreg) + (sizeof(void*)-1)); in cpp2uno_call() 154 pCppArgs[nPos] = pUnoArgs[nPos] = (((char *)ovrflw) + (sizeof(void*)-1)); in cpp2uno_call() 164 pCppArgs[nPos] = pUnoArgs[nPos] = (((char *)gpreg) + (sizeof(void*)-2)); in cpp2uno_call() 170 pCppArgs[nPos] = pUnoArgs[nPos] = (((char *)ovrflw) + (sizeof(void*)-2)); in cpp2uno_call() 180 pCppArgs[nPos] = pUnoArgs[nPos] = (((char *)gpreg) + (sizeof(void*)-4)); in cpp2uno_call() 194 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg++; in cpp2uno_call() 199 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_alpha/ |
H A D | cpp2uno.cxx | 107 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 135 pCppArgs[nPos] = pUnoArgs[nPos] = fpreg; in cpp2uno_call() 142 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 150 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() 157 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 166 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() 173 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 182 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() 189 pCppArgs[nPos] = pUnoArgs[nPos] = ovrflw; in cpp2uno_call() 196 pCppArgs[nPos] = pUnoArgs[nPos] = gpreg; in cpp2uno_call() [all …]
|