/trunk/main/sw/source/core/text/ |
H A D | redlnitr.cxx | 136 nStartIndex = nEndIndex = nPos = nChgCnt = 0; in CtorInitAttrIter() 446 nPos = nNew; in Enter() 450 ActualizeFont( rFnt, rArr[ nPos - nStart ] ); in Enter() 459 MSHORT nOldAttr = rArr[ nPos - nStart ]; in _Leave() 460 nPos = nNew; in _Leave() 463 MSHORT nAttr = rArr[ nPos - nStart ]; in _Leave() 482 if( nPos < nStart ) in Next() 487 else if( nPos < nEnd ) in Next() 489 MSHORT nIdx = nPos - nStart; in Next()
|
H A D | txtfly.cxx | 929 for( xub_StrLen nPos = rInf.GetIdx(); nPos < nEndPos; ++nPos ) in DrawTextOpaque() local 1683 memmove( (SdrObject**)pSdrObj + nPos, pSdrObj + nPos + 1, in ClrObject() 1685 memmove( pTextRanger + nPos, pTextRanger + nPos + 1, in ClrObject() 1761 while( nPos < GetCount() && pObj != pSdrObj[ nPos ] ) in ContourRect() 1762 ++nPos; in ContourRect() 1831 else if( nPos ) in ContourRect() 1888 while( nPos < POLY_CNT && pObj != pSdrObj[ nPos ] ) in ShowContour() 1889 ++nPos; in ShowContour() 1890 if( POLY_CNT != nPos ) in ShowContour() 2119 if( nPos == nFlyPos ) in CalcRightMargin() [all …]
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | CurlSession.cxx | 1928 sal_Int32 nPos = 0; in getDataFromInputStream() local 1933 if ( rData.getLength() < ( nPos + nRead ) ) in getDataFromInputStream() 1934 rData.realloc( nPos + nRead ); in getDataFromInputStream() 1937 rtl_copyMemory( (void*)( rData.getArray() + nPos ), in getDataFromInputStream() 1940 nPos += nRead; in getDataFromInputStream() 1948 rData.realloc( nPos + 1 ); in getDataFromInputStream() 1949 rData[ nPos ] = sal_Int8( 0 ); in getDataFromInputStream()
|
/trunk/main/tools/source/fsys/ |
H A D | dirent.cxx | 358 sal_uInt16 nPos; in ImpParseOs2Name() local 359 for ( nPos = 0; in ImpParseOs2Name() 363 nPos++ ) in ImpParseOs2Name() 371 for ( nPos = 2; aPfad.Len() > nPos; ++nPos ) in ImpParseOs2Name() 387 if ( nPos < aPfad.Len() && aPfad.GetChar(nPos) == ':' ) in ImpParseOs2Name() 1840 if ( nPos == 0 ) in ImpToRel() 1848 while ( nPos > 0 && aThisStr.GetChar(nPos) != '\\' ) in ImpToRel() 1849 --nPos; in ImpToRel() 1854 for ( nPos = 0; nPos < aCurStr.Len(); ++nPos ) in ImpToRel() 2293 nPos < aPfad.Len() && aPfad.GetChar(nPos) != '/'; in ImpParseUnixName() [all …]
|
/trunk/main/framework/source/uielement/ |
H A D | recentfilesmenucontroller.cxx | 244 sal_Int32 nPos = aFilter.indexOf( '|' ); in executeEntry() local 245 if ( nPos >= 0 ) in executeEntry() 249 if ( nPos < ( aFilter.getLength() - 1 ) ) in executeEntry() 250 aFilterOptions = aFilter.copy( nPos+1 ); in executeEntry() 255 aFilter = aFilter.copy( 0, nPos-1 ); in executeEntry()
|
/trunk/main/sd/source/ui/slideshow/ |
H A D | slideshowimpl.cxx | 1665 sal_Int32 nPos = aBookmark.indexOf( sal_Unicode('#') ); in click() local 1666 if( nPos >= 0 ) in click() 1668 OUString aURL( aBookmark.copy( 0, nPos+1 ) ); in click() 1669 OUString aName( aBookmark.copy( nPos+1 ) ); in click() 1781 sal_Int32 nPos = aBookmark.indexOf( sal_Unicode('#') ); in hyperLinkClicked() local 1782 if( nPos >= 0 ) in hyperLinkClicked() 1784 OUString aURL( aBookmark.copy( 0, nPos+1 ) ); in hyperLinkClicked() 1785 OUString aName( aBookmark.copy( nPos+1 ) ); in hyperLinkClicked()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unodraw.cxx | 544 long nPos; in getTypes() local 545 for(nPos = 0; nPos < aSvxTypes.getLength(); nPos++) in getTypes() 547 pPageTypes[nIndex++] = pSvxTypes[nPos]; in getTypes()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | shapeuno.cxx | 474 sal_Int32 nPos = 0; in setPropertyValue() local 475 if (aValue >>= nPos) in setPropertyValue() 504 nPos *= -1; in setPropertyValue() 505 nPos -= aSize.Width; in setPropertyValue() 520 aPoint.X = nPos; in setPropertyValue() 533 aUnoPoint.X = -nPos; in setPropertyValue() 545 aUnoPoint.X = nPos; in setPropertyValue() 572 sal_Int32 nPos = 0; in setPropertyValue() local 573 if (aValue >>= nPos) in setPropertyValue() 604 aPoint.Y = nPos; in setPropertyValue() [all …]
|
/trunk/main/sw/source/core/access/ |
H A D | accportions.cxx | 350 sal_Int32 nPos ) const in GetLineBoundary() 436 size_t nPos ) const in FillBoundary() 438 rBound.startPos = rPositions[nPos]; in FillBoundary() 439 rBound.endPos = rPositions[nPos+1]; in FillBoundary() 523 sal_Int32 nPos ) in GetSentenceBoundary() argument 578 sal_Int32 nPos) const in GetAttributeBoundary() 624 sal_Int32 nPos, in FillSpecialPos() argument 725 if( nPos < aFieldPosition[ i + 1 ] && nPos >= aFieldPosition[ i ] ) in GetAttrFldType() 739 if( nPos < aFieldPosition[ i + 1 ] && nPos >= aFieldPosition[ i ] ) in FillBoundaryIFDateField() 749 sal_Int32 nPos, in AdjustAndCheck() argument [all …]
|
H A D | accpara.cxx | 548 sal_Int32 nPos; in _InvalidateFocus() local 703 return (nPos >= 0) && (nPos < nLength); in IsValidChar() 709 return (nPos >= 0) && (nPos <= nLength); in IsValidPosition() 889 while( pStr[nPos] == sal_Unicode(' ') && nPos < rText.getLength()) in GetSentenceBoundary() 890 nPos++; in GetSentenceBoundary() 1006 if((nPos == rText.getLength()) && nPos > 0) in GetTextBoundary() 3355 sal_uInt16 nPos; member in SwHyperlinkIter_Impl 3369 nPos( 0 ) in SwHyperlinkIter_Impl() 3394 ++nPos; in next() 3658 nPos++; in getHyperLinkIndex() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_mips/ |
H A D | uno2cpp.cxx | 300 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 302 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 308 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 363 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 365 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 373 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 374 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 377 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 383 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 415 sal_uInt16 nPos = 0; in ImplGetTabRect() local 442 nLinePosAry[nLines] = nPos; in ImplGetTabRect() 458 nPos++; in ImplGetTabRect() 579 nPos = GetPagePos( nOldId ); in ImplChangeTabPage() 580 aRect = ImplGetTabRect( nPos ); in ImplChangeTabPage() 1653 sal_uInt16 nPos ) in InsertPage() argument 1661 if( nPos == TAB_APPEND || size_t(nPos) >= mpTabCtrlData->maItemList.size() ) in InsertPage() 1712 if ( nPos != TAB_PAGE_NOTFOUND ) in RemovePage() 1846 nPos++; in SetCurPageId() 1848 nPos = 0; in SetCurPageId() [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc2.cxx | 136 sal_uInt16 nPos = 0; in GetStartPos() local 140 nPos = nPos + pPortion->GetLen(); in GetStartPos() 142 return nPos; in GetStartPos()
|
/trunk/main/vcl/source/window/ |
H A D | toolbox.cxx | 1180 sal_uInt16 nPos = 0; in ImplFindItemPos() local 1202 return nPos; in ImplFindItemPos() 1207 return nPos; in ImplFindItemPos() 1218 return nPos; in ImplFindItemPos() 1233 nPos++; in ImplFindItemPos() 1237 return nPos; in ImplFindItemPos() 3463 nPos > 0 in ImplDrawItem() 5984 sal_uInt16 nPos; in ImplFindItemPos() local 5985 for( nPos = 0; nPos < rList.size(); nPos++ ) in ImplFindItemPos() 5987 return nPos; in ImplFindItemPos() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 4820 xub_StrLen nPos = 0; in ImplGetTextLines() local 4822 while ( nPos < nLen ) in ImplGetTextLines() 4829 long nLineWidth = _rLayout.GetTextWidth( rStr, nPos, nBreakPos-nPos ); in ImplGetTextLines() 4942 nLineWidth = _rLayout.GetTextWidth( rStr, nPos, nBreakPos-nPos ); in ImplGetTextLines() 4956 nW = _rLayout.GetTextWidth( rStr, nPos, nSpacePos-nPos ); in ImplGetTextLines() 4963 nLineWidth = _rLayout.GetTextWidth( rStr, nPos, nBreakPos-nPos ); in ImplGetTextLines() 4977 nPos = nBreakPos; in ImplGetTextLines() 4979 if ( ( rStr.GetChar( nPos ) == _CR ) || ( rStr.GetChar( nPos ) == _LF ) ) in ImplGetTextLines() 4981 nPos++; in ImplGetTextLines() 4983 … if ( ( nPos < nLen ) && ( rStr.GetChar( nPos ) == _LF ) && ( rStr.GetChar( nPos-1 ) == _CR ) ) in ImplGetTextLines() [all …]
|
/trunk/main/svtools/source/uno/ |
H A D | toolboxcontroller.cxx | 832 for ( sal_uInt16 nPos = 0; nPos < nCount; ++nPos ) in getToolboxId() local 834 const sal_uInt16 nItemId = pToolBox->GetItemId( nPos ); in getToolboxId()
|
/trunk/main/lingucomponent/source/thesaurus/libnth/ |
H A D | nthesimp.cxx | 254 sal_Int32 nPos = aLocation.lastIndexOf( '.' ); in getLocales() local 255 aLocation = aLocation.copy( 0, nPos ); in getLocales()
|
/trunk/main/sw/source/ui/index/ |
H A D | cnttab.cxx | 676 nData = nPos; in GetTabPos() 1101 nPos++; in SetWrtShell() 1104 nPos = aTypeLB.InsertEntry(rSh.GetTOXType(TOX_USER, nUser)->GetTypeName(), nPos); in SetWrtShell() 2260 nPos = aFirstKeyLB.InsertEntry(sTmp); in SwTOXEntryTabPage() 3004 if(LISTBOX_ENTRY_NOTFOUND != nPos) in IMPL_LINK() 3033 if(LISTBOX_ENTRY_NOTFOUND != nPos) in IMPL_LINK() 3944 aControlList.Seek(nPos); in IMPL_LINK() 3980 aControlList.Seek(nPos); in IMPL_LINK() 4260 if(nPos != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK() 4265 aLevelLB.RemoveEntry(nPos); in IMPL_LINK() [all …]
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbarangehelper.cxx | 46 sal_Int32 nPos = 0; in getRangeByPosition() local 52 if( _position == nPos ) in getRangeByPosition() 59 nPos++; in getRangeByPosition()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par.cxx | 1589 if( nPos != SVX_TAB_NOTFOUND ) in Read_Tab() 1590 aAttr.Remove( nPos, 1 ); in Read_Tab() 1595 short nPos = SVBT16ToShort(pIns + i*2); in Read_Tab() local 1596 aTabStop.GetTabPos() = nPos; in Read_Tab() 1632 sal_uInt16 nPos2 = aAttr.GetPos( nPos ); in Read_Tab() 2266 AttribHere(xub_StrLen nPos) : nPosition(nPos) {} in AttribHere() argument 3218 WW8_FC nPos; in ReadChar() local 3220 pTest->Get(nPos, pData); in ReadChar() 3947 sal_uInt16 nPos = mrReader.rDoc.MakePageDesc( in SetSwFmtPageDesc() local 3966 sal_uInt16 nPos = mrReader.rDoc.MakePageDesc( in SetSwFmtPageDesc() local [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 5179 SwTwips nPos = Max( aInter.Left(), nY ); in PaintGrid() local 5180 SwTwips nW = Min(nRight, aTmp.Pos().X()) - nPos; in PaintGrid() 5181 SwRect aVert( Point( nPos, aGrid.Top() ), in PaintGrid() 5237 SwTwips nPos = Max( aInter.Left(), nY ); in PaintGrid() local 5238 SwTwips nW = Min(nRight, aTmp.Pos().X()) - nPos; in PaintGrid() 5239 SwRect aVert( Point( nPos, aGrid.Top() ), in PaintGrid() 5310 SwTwips nPos = Max(aInter.Top(),aTmp.Pos().Y()); in PaintGrid() local 5311 SwTwips nH = Min( nBottom, nY ) - nPos; in PaintGrid() 5312 SwRect aVert( Point( aGrid.Left(), nPos ), in PaintGrid() 5368 SwTwips nH = Min( nBottom, nY ) - nPos; in PaintGrid() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdomeas.cxx | 580 …STBOOL SdrMeasureObj::CalcFieldValue(const SvxFieldItem& rField, sal_uInt32 nPara, sal_uInt16 nPos, in CalcFieldValue() argument 597 return SdrTextObj::CalcFieldValue(rField,nPara,nPos,bEdit,rpTxtColor,rpFldColor,rRet); in CalcFieldValue()
|
H A D | svdopath.cxx | 1969 sal_uInt16 nPos(rName.SearchAscii("%2")); // #i96537# in TakeObjNameSingul() local 1971 if(STRING_NOTFOUND != nPos) in TakeObjNameSingul() 1973 rName.Erase(nPos, 2); in TakeObjNameSingul() 1974 rName.Insert(UniString::CreateFromInt32(nPointCount), nPos); in TakeObjNameSingul()
|
H A D | svdobj.cxx | 1093 xub_StrLen nPos = rStr.SearchAscii(aSearchText1); in ImpTakeDescriptionStr() local 1095 if(nPos != STRING_NOTFOUND) in ImpTakeDescriptionStr() 1097 rStr.Erase(nPos, 2); in ImpTakeDescriptionStr() 1102 rStr.Insert(aObjName, nPos); in ImpTakeDescriptionStr() 1105 nPos = rStr.SearchAscii(aSearchText2); in ImpTakeDescriptionStr() 1107 if(nPos != STRING_NOTFOUND) in ImpTakeDescriptionStr() 1109 rStr.Erase(nPos, 2); in ImpTakeDescriptionStr() 1110 rStr.Insert(UniString::CreateFromInt32(nVal), nPos); in ImpTakeDescriptionStr() 2777 void SdrObject::InsertUserData(SdrObjUserData* pData, sal_uInt16 nPos) in InsertUserData() argument 2782 pPlusData->pUserDataList->InsertUserData(pData,nPos); in InsertUserData()
|
/trunk/main/svtools/source/edit/ |
H A D | texteng.cxx | 163 if( nPos != USHRT_MAX ) in RemoveView() 166 mpViews->Remove( nPos, 1 ); in RemoveView() 1512 if ( ( ( pAttrib->GetStart() < nPos ) && ( pAttrib->GetEnd() >= nPos ) ) in SeekCursor() 1836 if ( nPos == 0 ) in SplitTextPortion() 1848 if ( nTmpPos >= nPos ) in SplitTextPortion() 2025 sal_uInt16 nPos = 0; in RecalcTextPortion() local 2038 nPos = nPos + pTP->GetLen(); in RecalcTextPortion() 2041 if ( ( nPos == nStartPos ) && ( (nPos+pTP->GetLen()) == nEnd ) ) in RecalcTextPortion() 2342 nPos = nPos + pTP->GetLen(); in CreateLines() 2343 if ( ( nPos > nStart ) && ( nPos < nEnd ) ) in CreateLines() [all …]
|