/trunk/main/sc/source/filter/excel/ |
H A D | xeformula.cxx | 1542 sal_uInt16 nIdx; in FinishChooseFunction() local 1543 for( nIdx = 1; nIdx < nParamCount; ++nIdx ) in FinishChooseFunction() 1544 rAttrPos[ nIdx ] = rAttrPos[ nIdx ] + nJumpArrSize; in FinishChooseFunction() 1546 for( nIdx = 1; nIdx < nParamCount; ++nIdx ) in FinishChooseFunction() 1547 UpdateAttrGoto( rAttrPos[ nIdx ] ); in FinishChooseFunction() 1550 for( nIdx = 1; nIdx < nParamCount; ++nIdx ) in FinishChooseFunction() 1551 …Overwrite( nJumpArrPos + 2 * nIdx, static_cast< sal_uInt16 >( rAttrPos[ nIdx ] + 4 - nJumpArrPos )… in FinishChooseFunction() 2626 for( sal_uLong nIdx = 0; nIdx < nCount; ++nIdx ) in CreateFormula() local 2628 if( nIdx > 0 ) in CreateFormula() 2630 lclPutRangeToTokenArray( aScTokArr, *rScRanges.GetObject( nIdx ), nCurrScTab, b3DRefOnly ); in CreateFormula()
|
/trunk/main/sw/source/ui/config/ |
H A D | uinums.cxx | 134 void SwBaseNumRules::ApplyNumRules(const SwNumRulesWithName &rCopy, sal_uInt16 nIdx) in ApplyNumRules() argument 136 ASSERT(nIdx < nMaxRules, Array der NumRules ueberindiziert.); in ApplyNumRules() 137 if( !pNumRules[nIdx] ) in ApplyNumRules() 138 pNumRules[nIdx] = new SwNumRulesWithName( rCopy ); in ApplyNumRules() 140 *pNumRules[nIdx] = rCopy; in ApplyNumRules() 225 void SwChapterNumRules::ApplyNumRules(const SwNumRulesWithName &rCopy, sal_uInt16 nIdx) in ApplyNumRules() argument 228 SwBaseNumRules::ApplyNumRules(rCopy, nIdx); in ApplyNumRules()
|
/trunk/main/oox/source/dump/ |
H A D | dumperbase.cxx | 573 for( sal_Int32 nIdx = 0; nIdx < nCount; ++nIdx ) in appendEncChar() local 585 sal_Int32 nIdx = 0; in appendEncString() local 587 while( nIdx < nEnd ) in appendEncString() 590 while( (nIdx < nEnd) && (rData[ nIdx ] >= 0x20) ) ++nIdx; in appendEncString() 592 if( nBeg < nIdx ) in appendEncString() 600 while( (nIdx < nEnd) && (rData[ nIdx ] < 0x20) ) in appendEncString() 603 ++nIdx; in appendEncString() 606 nBeg = nIdx; in appendEncString() 648 appendDec( aToken, nIdx ); in appendIndex() 1794 for( size_t nIdx = 0; nIdx < nCount; ++nIdx ) in emptyLine() local [all …]
|
H A D | biffdumper.cxx | 1008 OUString FormulaObject::createPlaceHolder( size_t nIdx ) const in createPlaceHolder() 1363 for( sal_uInt16 nIdx = 0; nIdx < nCount; ++nIdx ) in dumpAttrToken() local 1494 size_t nIdx = aIt - maAddData.begin(); in dumpAddTokenData() local 1498 case ADDDATA_NLR: dumpAddDataNlr( nIdx ); break; in dumpAddTokenData() 1499 case ADDDATA_ARRAY: dumpAddDataArray( nIdx ); break; in dumpAddTokenData() 1505 void FormulaObject::dumpAddDataNlr( size_t nIdx ) in dumpAddDataNlr() argument 1523 void FormulaObject::dumpAddDataArray( size_t nIdx ) in dumpAddDataArray() argument 2573 …for( sal_uInt16 nIdx = 0, nCount = dumpDec< sal_uInt16 >( "count" ); !rStrm.isEof() && (nIdx < nCo… in implDumpRecordBody() local 2696 …for( sal_uInt16 nIdx = 0, nCount = dumpDec< sal_uInt16 >( "count" ); !rStrm.isEof() && (nIdx < nCo… in implDumpRecordBody() local 2831 for( sal_Int64 nIdx = 0, nCount = rStrm.getRemaining() / 2; nIdx < nCount; ++nIdx ) in implDumpRecordBody() local [all …]
|
/trunk/main/sw/source/core/unocore/ |
H A D | unocrsrhelper.cxx | 987 xub_StrLen nIdx = rText.Search( '\r', nStartIdx ); in DocInsertStringSplitCR() local 988 if( ( nIdx == STRING_NOTFOUND && nMaxLength < rText.Len() ) || in DocInsertStringSplitCR() 989 ( nIdx != STRING_NOTFOUND && nMaxLength < nIdx ) ) in DocInsertStringSplitCR() 991 nIdx = nMaxLength; in DocInsertStringSplitCR() 993 while (nIdx != STRING_NOTFOUND ) in DocInsertStringSplitCR() 995 DBG_ASSERT( nIdx - nStartIdx >= 0, "index negative!" ); in DocInsertStringSplitCR() 996 aTxt = rText.Copy( nStartIdx, nIdx - nStartIdx ); in DocInsertStringSplitCR() 1008 nStartIdx = nIdx + 1; in DocInsertStringSplitCR() 1009 nIdx = rText.Search( '\r', nStartIdx ); in DocInsertStringSplitCR()
|
/trunk/main/sfx2/source/appl/ |
H A D | newhelp.cxx | 341 xub_StrLen nIdx = 0; in InitRoot() local 342 aTitle = aRow.GetToken( 0, '\t', nIdx ); in InitRoot() 343 aURL = aRow.GetToken( 0, '\t', nIdx ); in InitRoot() 386 xub_StrLen nIdx = 0; in RequestingChilds() local 388 aURL = aRow.GetToken( 0, '\t', nIdx ); in RequestingChilds() 1107 xub_StrLen nIdx = 0; in IMPL_LINK() local 1109 aType = aRow.GetToken( 0, '\t', nIdx ); in IMPL_LINK() 1651 xub_StrLen nIdx = 0; in Initialize() local 1653 aType = aRow.GetToken( 0, '\t', nIdx ); in Initialize() 1654 aURL = aRow.GetToken( 0, '\t', nIdx ); in Initialize() [all …]
|
/trunk/main/vcl/unx/gtk/a11y/ |
H A D | atkaction.cxx | 49 static int nIdx = 0; in getAsConst() local 50 nIdx = (nIdx + 1) % nMax; in getAsConst() 51 aUgly[nIdx] = rString; in getAsConst() 52 return aUgly[ nIdx ].getStr(); in getAsConst()
|
/trunk/main/sw/source/core/doc/ |
H A D | docfly.cxx | 117 SwFrmFmt* SwDoc::GetFlyNum( sal_uInt16 nIdx, FlyCntType eType ) in GetFlyNum() argument 136 if( !pNd->IsNoTxtNode() && nIdx == nCount++) in GetFlyNum() 140 if(pNd->IsGrfNode() && nIdx == nCount++ ) in GetFlyNum() 144 if(pNd->IsOLENode() && nIdx == nCount++) in GetFlyNum() 148 if(nIdx == nCount++) in GetFlyNum() 257 const xub_StrLen nIdx = pPos->nContent.GetIndex(); in SetFlyFrmAnchor() local 259 pTxtNode->GetTxtAttrForCharAt( nIdx, RES_TXTATR_FLYCNT ); in SetFlyFrmAnchor() 268 pTxtNode->DeleteAttributes( RES_TXTATR_FLYCNT, nIdx, nIdx ); in SetFlyFrmAnchor()
|
/trunk/main/tools/source/ref/ |
H A D | pstm.cxx | 378 SvPersistBase * SvPersistStream::GetObject( sal_uIntPtr nIdx ) const in GetObject() 380 if( nIdx >= nStartIdx ) in GetObject() 381 return aPUIdx.Get( nIdx ); in GetObject() 383 return pRefStm->GetObject( nIdx ); in GetObject() 906 sal_uIntPtr nIdx = GetIndex( pObj ); in RemoveObj() local 907 aPUIdx.Remove( nIdx ); in RemoveObj() 909 return nIdx; in RemoveObj()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit3.cxx | 2134 xub_StrLen nIdx = 0; in ImpFindKashidas() local 2139 while ( nIdx < aWord.Len() ) in ImpFindKashidas() 2141 cCh = aWord.GetChar( nIdx ); in ImpFindKashidas() 2153 if ( nIdx + 1 < aWord.Len() && in ImpFindKashidas() 2164 if ( nIdx && nIdx + 1 == aWord.Len() && in ImpFindKashidas() 2180 if ( nIdx && nIdx + 1 < aWord.Len() && 0x628 == cCh ) in ImpFindKashidas() 2198 if ( nIdx && nIdx + 1 == aWord.Len() && in ImpFindKashidas() 2220 ++nIdx; in ImpFindKashidas() 4485 for( xub_StrLen nIdx = nStt; nIdx < nEnd; ++nIdx ) in ImplInitDigitMode() local 4791 const sal_Int32 nEndPos(nIdx + nLen); in ImplFillTextMarkingVector() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | objectformattertxtfrm.cxx | 249 sal_uInt32 nIdx( CountOfCollected() ); in DoFormatObj() local 250 ASSERT( nIdx > 0, in DoFormatObj() 252 --nIdx; in DoFormatObj() 258 if ( SwObjectFormatterTxtFrm::CheckMovedFwdCondition( *GetCollectedObj( nIdx ), in DoFormatObj() 259 GetPgNumOfCollected( nIdx ), in DoFormatObj() 260 IsCollectedAnchoredAtMaster( nIdx ), in DoFormatObj()
|
/trunk/main/basic/source/comp/ |
H A D | scanner.cxx | 459 sal_uInt16 nIdx = 0; in NextSym() local 462 nIdx = aSym.Search( s, nIdx ); in NextSym() 463 if( nIdx == STRING_NOTFOUND ) in NextSym() 465 aSym.Erase( nIdx, 1 ); in NextSym() 466 nIdx++; in NextSym()
|
/trunk/main/sfx2/source/doc/ |
H A D | oleprops.cxx | 324 for( sal_Int32 nIdx = 0; nIdx < nSize; ++nIdx ) in ImplLoadString16() local 357 for( xub_StrLen nIdx = 0; nIdx < rValue.Len(); ++nIdx ) in ImplSaveString16() local 358 rStrm << static_cast< sal_uInt16 >( rValue.GetChar( nIdx ) ); in ImplSaveString16() 711 …for( sal_Int32 nIdx = 0; (nIdx < nNameCount) && (rStrm.GetErrorCode() == SVSTREAM_OK) && !rStrm.Is… in ImplLoad() local
|
/trunk/main/svx/source/fmcomp/ |
H A D | fmgridcl.cxx | 1236 long nIdx = LastSelectedRow() + 1; in DeleteSelectedRows() local 1237 if (nIdx < GetRowCount() - 1) in DeleteSelectedRows() 1240 if (SeekCursor(nIdx)) in DeleteSelectedRows() 1246 if (!IsInsertionRow(nIdx)) in DeleteSelectedRows() 1253 nIdx = FirstSelectedRow() - 1; in DeleteSelectedRows() 1254 if (nIdx >= 0 && SeekCursor(nIdx)) in DeleteSelectedRows() 1899 long nIdx = FirstSelectedRow(); in getSelectionBookmarks() local 1900 while (nIdx >= 0) in getSelectionBookmarks() 1904 nIdx = NextSelectedRow(); in getSelectionBookmarks() 1911 if (IsInsertionRow(nIdx)) in getSelectionBookmarks() [all …]
|
/trunk/main/sw/source/core/txtnode/ |
H A D | atrfld.cxx | 569 const xub_StrLen nIdx = (*GetStart()) + 1; in UpdateFieldContent() local 571 const xub_StrLen nLen = static_cast<xub_StrLen>(std::max( 0, ( (*End()) - 1 - nIdx ) )); in UpdateFieldContent() 572 const String aNewFieldContent = GetTxtNode().GetExpandTxt( nIdx, nLen ); in UpdateFieldContent() 597 const xub_StrLen nIdx = (*GetStart()) + 1; in UpdateTextNodeContent() local 599 const xub_StrLen nDelLen = static_cast<xub_StrLen>(std::max( 0, ( (*End()) - 1 - nIdx ) )); in UpdateTextNodeContent() 600 SwIndex aIdx( &GetTxtNode(), nIdx ); in UpdateTextNodeContent()
|
/trunk/main/sw/source/core/undo/ |
H A D | untbl.cxx | 1818 sal_uLong nIdx = aTmp[ --n ]; in UndoImpl() local 2071 sal_uLong nIdx = aNewSttNds[ --n ]; in UndoImpl() local 2073 if( !nIdx && n ) in UndoImpl() 2075 nIdx = aNewSttNds[ --n ]; in UndoImpl() 2121 nIdx = pBox->GetSttIdx(); in UndoImpl() 3213 if( *(rArr.GetData() + nM) == nIdx ) in InsertSort() 3218 if( *(rArr.GetData() + nM) < nIdx ) in InsertSort() 3226 rArr.Insert( nIdx, nU ); in InsertSort() 3240 if( *(rArr.GetData() + nM) == nIdx ) in InsertSort() 3245 if( *(rArr.GetData() + nM) < nIdx ) in InsertSort() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | txtfly.cxx | 1852 MSHORT nIdx = 0; in ContourRect() local 1853 while( nIdx < nCount && (*pTmp)[ nIdx ] < nXPos ) in ContourRect() 1854 ++nIdx; in ContourRect() 1855 sal_Bool bOdd = nIdx % 2 ? sal_True : sal_False; in ContourRect() 1858 --nIdx; // innerhalb eines Intervalls in ContourRect() 1859 else if( ! bRight && ( nIdx >= nCount || (*pTmp)[ nIdx ] != nXPos ) ) in ContourRect() 1861 if( nIdx ) in ContourRect() 1862 nIdx -= 2; // ein Intervall nach links gehen in ContourRect() 1867 if( bSet && nIdx < nCount ) in ContourRect() 1871 (aRet.*fnRect->fnSetLeft)( (*pTmp)[ nIdx ] ); in ContourRect() [all …]
|
H A D | inftxt.cxx | 262 nIdx(rNew.GetIdx()), in SwTxtSizeInfo() 365 nIdx = nNewIdx; in CtorInitTxtSizeInfo() 387 nIdx(nIndex), in SwTxtSizeInfo() 475 SwDrawTextInfo aDrawInf( pVsh, *pOut, &rSI, *pTxt, nIdx, nLen ); in GetTxtSize() 1790 nIdx = pInf->GetIdx(); in SwTxtSlot() 1803 const sal_uInt16 nPos = pOldSmartTagList->GetWrongPos(nIdx); in SwTxtSlot() 1805 if( nListPos == nIdx ) in SwTxtSlot() 1807 … else if( !pTempList && nPos < pOldSmartTagList->Count() && nListPos < nIdx && aTxt.Len() ) in SwTxtSlot() 1819 const sal_uInt16 nPos = pOldGrammarCheckList->GetWrongPos(nIdx); in SwTxtSlot() 1821 if( nListPos == nIdx ) in SwTxtSlot() [all …]
|
/trunk/main/framework/source/classes/ |
H A D | fwktabwindow.cxx | 368 sal_uInt16 nIdx = static_cast< sal_uInt16 >( nIndex ); in AddTabPage() local 369 m_aTabCtrl.InsertPage( nIdx, sTitle ); in AddTabPage() 371 m_aTabCtrl.SetHelpText( nIdx, sToolTip ); in AddTabPage() 373 m_aTabCtrl.SetPageImage( nIdx, Image( xImage ) ); in AddTabPage() 375 m_aTabCtrl.EnablePage( nIdx, false ); in AddTabPage()
|
/trunk/main/sw/source/core/inc/ |
H A D | drawfont.hxx | 65 xub_StrLen nIdx; member in SwDrawTextInfo 121 nIdx = nI; in SwDrawTextInfo() 248 return nIdx; in GetIdx() 264 return nIdx + nLen; in GetEnd() 436 nIdx = nNew; in SetIdx()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par6.cxx | 377 int nIdx = 1; in SetCols() local 388 nIdx += 2; in SetCols() 1319 switch (nIdx) in GetLineIndex() 1323 nIdx = (nIdx == 11) ? 12 : 11; in GetLineIndex() 1327 nIdx = (nIdx == 14) ? 15 : 14; in GetLineIndex() 1331 nIdx = (nIdx == 17) ? 18 : 17; in GetLineIndex() 1335 nIdx = (nIdx == 24) ? 25 : 24; in GetLineIndex() 1344 switch (nIdx) in GetLineIndex() 1496 short nSpace, nIdx; in Set1Border() local 1498 &nIdx); in Set1Border() [all …]
|
/trunk/main/sw/inc/ |
H A D | ndhints.hxx | 120 inline SwTxtAttr * GetTextHint( const sal_uInt16 nIdx ) in GetTextHint() argument 121 { return GetStart(nIdx); } in GetTextHint() 122 inline const SwTxtAttr * operator[]( const sal_uInt16 nIdx ) const in operator []() 123 { return m_HintStarts[nIdx]; } in operator []()
|
/trunk/main/xmloff/source/style/ |
H A D | PageMasterExportPropMapper.cxx | 243 sal_uInt32 nIdx ) const in handleElementItem() 254 DBG_ASSERT( pProperties && (nIdx >= 2), "property vector missing" ); in handleElementItem() 277 if( pProperties && (nIdx >= 2) ) in handleElementItem() 279 const XMLPropertyState& rPos = (*pProperties)[nIdx - 2]; in handleElementItem() 285 const XMLPropertyState& rFilter = (*pProperties)[nIdx - 1]; in handleElementItem() 301 pThis->aFootnoteSeparatorExport.exportXML( pProperties, nIdx, in handleElementItem()
|
/trunk/main/cui/source/tabpages/ |
H A D | tpcolor.cxx | 1047 xub_StrLen nIdx = 1; in IMPL_LINK() local 1048 aColorStr.SetChar( nIdx, aStr.GetChar( 0 ) ); in IMPL_LINK() 1050 aColorStr.SetChar( nIdx, aStr.GetChar( 1 ) ); in IMPL_LINK() 1052 aColorStr.SetChar( nIdx, aStr.GetChar( 2 ) ); in IMPL_LINK() 1092 xub_StrLen nIdx = 1; in IMPL_LINK() local 1093 aColorStr.SetChar( nIdx, aStr.GetChar( 0 ) ); in IMPL_LINK() 1095 aColorStr.SetChar( nIdx, aStr.GetChar( 1 ) ); in IMPL_LINK() 1097 aColorStr.SetChar( nIdx,aStr.GetChar( 2 ) ); in IMPL_LINK() 1099 aColorStr.SetChar( nIdx,aStr.GetChar( 3 ) ); in IMPL_LINK()
|
/trunk/main/editeng/source/outliner/ |
H A D | outlundo.cxx | 200 for( sal_uInt32 nIdx = 0; nIdx < nCount; nIdx++ ) in Restore() local 202 pPara = pOutliner->GetParagraph( pParas[nIdx] ); in Restore()
|