/trunk/main/sc/source/ui/dbgui/ |
H A D | dpgroupdlg.cxx | 255 for( size_t nIdx = 0 ; nIdx < nCount; ++nIdx ) in ScDPDateGroupDlg() local 256 maLbUnits.InsertEntry( ScGlobal::GetRscString( nDatePartResIds[nIdx] ) ); in ScDPDateGroupDlg() 266 for( size_t nIdx = 0; nIdx < nCount; ++nIdx ) in ScDPDateGroupDlg() local 267 …maLbUnits.CheckEntryPos( static_cast< sal_uInt16 >( nIdx ), (nDatePart & spnDateParts[ nIdx ]) != … in ScDPDateGroupDlg() 331 for( sal_uLong nIdx = 0, nCount = maLbUnits.GetEntryCount(); nIdx < nCount; ++nIdx ) in GetDatePart() local 332 if( maLbUnits.IsChecked( static_cast< sal_uInt16 >( nIdx ) ) ) in GetDatePart() 333 nDatePart |= spnDateParts[ nIdx ]; in GetDatePart()
|
/trunk/main/editeng/source/uno/ |
H A D | unonrule.cxx | 193 sal_uInt16 nIdx = 0; 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() 252 pArray[nIdx++] = aGraphicProp; in getNumberingRuleByIndex() 261 pArray[nIdx++] = aGraphicSizeProp; in getNumberingRuleByIndex() 273 …pArray[nIdx++] = beans::PropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolTextDistance")),… in getNumberingRuleByIndex() 281 DBG_ASSERT( nIdx <= nProps, "FixMe: Array uebergelaufen!!!! [CL]" ); in getNumberingRuleByIndex() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | wrong.hxx | 205 void Remove( sal_uInt16 nIdx, sal_uInt16 nLen ); 245 inline xub_StrLen Len( sal_uInt16 nIdx ) const in Len() 247 return nIdx < maList.size() ? maList[nIdx].mnLen : 0; in Len() 250 inline xub_StrLen Pos( sal_uInt16 nIdx ) const in Pos() 252 return nIdx < maList.size() ? maList[nIdx].mnPos : 0; in Pos() 274 inline SwWrongList* SubList( sal_uInt16 nIdx ) const in SubList() 276 return nIdx < maList.size() ? maList[nIdx].mpSubList : 0; in SubList() 281 inline const SwWrongArea* GetElement( sal_uInt16 nIdx ) const in GetElement() 283 return nIdx < maList.size() ? &maList[nIdx] : 0; in GetElement()
|
/trunk/main/xmloff/source/style/ |
H A D | xmlimppr.cxx | 380 sal_Int32 nIdx = rProp.mnIndex; in FillPropertySequence() local 381 if( nIdx == -1 ) in FillPropertySequence() 383 pProps->Name = maPropMapper->GetEntryAPIName( nIdx ); in FillPropertySequence() 409 sal_Int32 nIdx = rProp.mnIndex; in CheckSpecialContext() local 412 if( -1 == nIdx ) in CheckSpecialContext() 499 sal_Int32 nIdx = rProp.mnIndex; in _FillPropertySet() local 502 if( -1 == nIdx ) in _FillPropertySet() 506 const sal_Int32 nPropFlags = rPropMapper->GetEntryFlags( nIdx ); in _FillPropertySet() 618 sal_Int32 nIdx = rProp.mnIndex; in _PrepareForMultiPropertySet() local 621 if( -1 == nIdx ) in _PrepareForMultiPropertySet() [all …]
|
/trunk/main/sw/source/core/edit/ |
H A D | ednumber.cxx | 487 sal_uLong nStt = aPos.nNode.GetIndex(), nIdx = nStt - 1; in MoveNumParas() local 488 while( nIdx && ( in MoveNumParas() 489 ( pNd = GetDoc()->GetNodes()[ nIdx ])->IsSectionNode() || in MoveNumParas() 491 --nIdx; in MoveNumParas() 492 if( GetDoc()->GetNodes()[ nIdx ]->IsTxtNode() ) in MoveNumParas() 493 nOffset = nIdx - nStt; in MoveNumParas() 506 pNd = GetDoc()->GetNodes()[ nIdx ]; in MoveNumParas() 513 ++nIdx; in MoveNumParas() 523 if( nStt == nIdx || !GetDoc()->GetNodes()[ nIdx ]->IsTxtNode() ) in MoveNumParas() 526 nOffset = nIdx - nStt; in MoveNumParas() [all …]
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | FileHelper.java | 109 int nIdx = _sFilename.lastIndexOf(fs); in getBasename() local 110 if (nIdx > 0) in getBasename() 120 int nIdx = _sFilename.lastIndexOf("."); in getNameNoSuffix() local 121 if (nIdx > 0) in getNameNoSuffix() 123 return _sFilename.substring(0, nIdx); in getNameNoSuffix() 131 int nIdx = _sFilename.lastIndexOf("."); in getSuffix() local 132 if (nIdx > 0) in getSuffix() 134 return _sFilename.substring(nIdx ); in getSuffix() 144 int nIdx = _sFilename.lastIndexOf(fs); in getPath() local 145 if (nIdx > 0) in getPath() [all …]
|
H A D | BuildID.java | 38 int nIdx = _sApp.indexOf("\"", 1); in getBuildID() local 39 if (nIdx == -1) in getBuildID() 45 sOfficePath = _sApp.substring(1, nIdx); in getBuildID() 51 int nIdx = _sApp.indexOf(" ", 1); in getBuildID() local 52 if (nIdx == -1) in getBuildID() 58 sOfficePath = _sApp.substring(0, nIdx); in getBuildID() 68 int nIdx = sOfficePath.lastIndexOf(fs); in getBuildID() local 69 sOfficePath = sOfficePath.substring(0, nIdx); in getBuildID()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/ |
H A D | BuildID.java | 37 int nIdx = _sApp.indexOf("\"", 1); in getOfficePath() local 38 if (nIdx != -1) in getOfficePath() 41 sOfficePath = _sApp.substring(1, nIdx); in getOfficePath() 50 int nIdx = _sApp.indexOf(" ", 1); in getOfficePath() local 51 if (nIdx == -1) in getOfficePath() 57 sOfficePath = _sApp.substring(0, nIdx); in getOfficePath() 190 int nIdx = sBuildID.indexOf("[CWS:"); in getCWSName() local 191 if (nIdx > 0) in getCWSName() 193 int nIdx2 = sBuildID.indexOf("]", nIdx); in getCWSName() 194 sCWSName = sBuildID.substring(nIdx + 5, nIdx2); in getCWSName()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | ndhints.cxx | 314 xub_StrLen nIdx = *pHt->GetStart(); in Check() local 321 nLastStart = nIdx; in Check() 331 nIdx = *pHtEnd->GetAnyEnd(); in Check() 332 CHECK_ERR( nIdx >= nLastEnd, "HintsCheck: ends are unsorted" ); in Check() 333 nLastEnd = nIdx; in Check() 339 nLastEnd = nIdx; in Check() 345 if( !m_HintStarts.Seek_Entry( pHt, &nIdx ) ) in Check() 346 nIdx = STRING_LEN; in Check() 351 if( !m_HintEnds.Seek_Entry( pHt, &nIdx ) ) in Check() 352 nIdx = STRING_LEN; in Check() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svditer.cxx | 76 for( sal_uIntPtr nIdx = 0, nCount = rObjList.GetObjCount(); nIdx < nCount; ++nIdx ) in ImpProcessObjectList() local 79 rObjList.GetObj( nIdx ) : rObjList.GetObjectForNavigationPosition( nIdx ); in ImpProcessObjectList() 88 for( sal_uIntPtr nIdx = 0, nCount = rMarkList.GetMarkCount(); nIdx < nCount; ++nIdx ) in ImpProcessMarkList() local 89 if( SdrObject* pObj = rMarkList.GetMark( nIdx )->GetMarkedSdrObj() ) in ImpProcessMarkList()
|
/trunk/main/basic/source/sbx/ |
H A D | sbxobj.cxx | 482 sal_uInt16 nIdx; in Insert() local 487 if( nIdx < pArray->Count() ) in Insert() 492 nIdx = pArray->Count(); in Insert() 523 pArray->Put( pVar, nIdx ); in Insert() 618 sal_uInt16 nIdx; in Remove() local 634 pArray->Remove( nIdx ); in Remove() 645 sal_uInt16 nIdx; in VCPtrRemove() local 655 pArray->Remove( nIdx ); in VCPtrRemove() 695 sal_uInt16 nIdx; in SetPos() local 701 if( nIdx < ( pArray->Count() - 1 ) ) in SetPos() [all …]
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 343 sal_Int32 nIdx = -1; in getAccessibleIndexInParent() local 350 nIdx = i; in getAccessibleIndexInParent() 352 return nIdx; in getAccessibleIndexInParent() 490 return aTxt.GetChar( nIdx ); in getCharacter() 731 aResult.SegmentStart = nIdx; in getTextAtIndex() 732 aResult.SegmentEnd = nIdx+1; in getTextAtIndex() 754 aResult.SegmentEnd = nIdx; in getTextBeforeIndex() 772 nIdx++; // text *behind* in getTextBehindIndex() 1932 sal_Int32 nIdx = -1; in getAccessibleIndexInParent() local 1939 nIdx = i; in getAccessibleIndexInParent() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 913 sal_uInt16 nIdx = nPos; in SubdivideBezier() local 928 fT * fU2 * pPoints[nIdx+1].X() * 3 + in SubdivideBezier() 929 fT2 * fU * pPoints[nIdx+2].X() * 3 + in SubdivideBezier() 930 fT3 * pPoints[nIdx+3].X()); in SubdivideBezier() 934 fT3 * pPoints[nIdx+3].Y()); in SubdivideBezier() 936 nIdx = nIdx + nIdxInc; in SubdivideBezier() 939 fT2 * pPoints[nIdx+2].X()); in SubdivideBezier() 942 fT2 * pPoints[nIdx+2].Y()); in SubdivideBezier() 944 nIdx = nIdx + nIdxInc; in SubdivideBezier() 946 fT * pPoints[nIdx+1].X()); in SubdivideBezier() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | rangelst.cxx | 112 for ( sal_uLong nIdx = 0; nIdx < nCnt; nIdx++ ) in Format() local 115 GetObject( nIdx )->Format( aStr, nFlags, pDoc, eConv ); in Format() 116 if ( nIdx ) in Format() 220 for ( sal_uLong nIdx = 0; nIdx < nCnt; nIdx++ ) in operator ==() local 222 if ( *GetObject( nIdx ) != *r.GetObject( nIdx ) ) in operator ==() 471 for ( sal_uLong nIdx = 0; nIdx < nCnt; nIdx++ ) in operator ==() local 473 if ( *GetObject( nIdx ) != *r.GetObject( nIdx ) ) in operator ==()
|
/trunk/main/sfx2/source/dialog/ |
H A D | srchdlg.cxx | 98 xub_StrLen nIdx = 0; in LoadConfig() local 99 String sSearchText = sUserData.GetToken( 0, ';', nIdx ); in LoadConfig() 100 m_aWholeWordsBox.Check( sUserData.GetToken( 0, ';', nIdx ).ToInt32() == 1 ); in LoadConfig() 101 m_aMatchCaseBox.Check( sUserData.GetToken( 0, ';', nIdx ).ToInt32() == 1 ); in LoadConfig() 102 m_aWrapAroundBox.Check( sUserData.GetToken( 0, ';', nIdx ).ToInt32() == 1 ); in LoadConfig() 103 m_aBackwardsBox.Check( sUserData.GetToken( 0, ';', nIdx ).ToInt32() == 1 ); in LoadConfig() 105 nIdx = 0; in LoadConfig() 106 while ( nIdx != STRING_NOTFOUND ) in LoadConfig() 107 m_aSearchEdit.InsertEntry( sSearchText.GetToken( 0, '\t', nIdx ) ); in LoadConfig()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xistring.cxx | 124 for( sal_uInt16 nIdx = 0; nIdx < nRunCount; ++nIdx ) in ReadFormats() local 133 for( sal_uInt16 nIdx = 0; nIdx < nRunCount; ++nIdx ) in ReadFormats() local 148 for( sal_uInt16 nIdx = 0; nIdx < nRunCount; ++nIdx ) in ReadObjFormats() local
|
/trunk/main/sw/source/core/text/ |
H A D | txtdrop.cxx | 84 xub_StrLen nIdx; member in SwDropSave 95 pInf( ((SwTxtPaintInfo*)&rInf) ), nIdx( rInf.GetIdx() ), in SwDropSave() 102 pInf->SetIdx( nIdx ); in ~SwDropSave() 429 xub_StrLen nIdx = 0; in GetTxtSize() local 437 nIdx = nIdx + pCurrPart->GetLen(); in GetTxtSize() 444 ((SwTxtSizeInfo&)rInf).SetIdx( nIdx ); in GetTxtSize() 758 xub_StrLen nIdx = rInf.GetIdx(); in CalcFontSize() local 864 nIdx, pCurrPart->GetLen() ) && in CalcFontSize() 883 nIdx, pCurrPart->GetLen() ) && in CalcFontSize() 913 nIdx = nIdx + pCurrPart->GetLen(); in CalcFontSize() [all …]
|
/trunk/main/sw/source/ui/chrdlg/ |
H A D | drpcps.cxx | 363 size_t nIdx = 0; in DrawPrev() local 370 nEnd = maScriptChg[ nIdx ]; in DrawPrev() 371 nScript = maScriptType[ nIdx ]; in DrawPrev() 385 aPt.X() += maTextWidth[ nIdx++ ]; in DrawPrev() 389 nEnd = maScriptChg[ nIdx ]; in DrawPrev() 452 size_t nIdx = 0; in CalcTextSize() local 458 nEnd = maScriptChg[ nIdx ]; in CalcTextSize() 459 nScript = maScriptType[ nIdx ]; in CalcTextSize() 479 if( nIdx < maTextWidth.Count() ) in CalcTextSize() 480 maTextWidth[ nIdx++ ] = nWidth; in CalcTextSize() [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | svxfont.hxx | 89 const sal_uInt16 nIdx, const sal_uInt16 nLen) const; 91 const sal_uInt16 nIdx, const sal_uInt16 nLen ) const; 94 const sal_uInt16 nIdx, const sal_uInt16 nLen ) const; 99 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ); 102 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const; 105 …const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN, const sal_Int32* pDXArray = NULL ) … 108 const sal_uInt16 nIdx, const sal_uInt16 nLen, sal_Int32* pDXArray = NULL ) const; 112 const sal_uInt16 nIdx = 0, const sal_uInt16 nLen = STRING_LEN ) const;
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc2.cxx | 338 for( sal_uInt32 nIdx = rLastPos - 2; nIdx < nEnd; nIdx++ ) in FastGetPos() local 340 if( pPtrArray[ nIdx ] == pPtr ) in FastGetPos() 342 rLastPos = nIdx; in FastGetPos() 343 return nIdx; in FastGetPos() 348 for( sal_uInt32 nIdx = 0; nIdx < nPtrArrayLen; nIdx++ ) in FastGetPos() local 349 if (pPtrArray[ nIdx ] == pPtr ) in FastGetPos() 350 return rLastPos = nIdx; in FastGetPos()
|
/trunk/main/vcl/source/gdi/ |
H A D | image.cxx | 581 for (sal_uInt16 nIdx = 0; nIdx < nCount; nIdx++) in GetAsHorizontalStrip() local 583 ImageAryData *pData = mpImplData->maImages[ nIdx ]; in GetAsHorizontalStrip() 599 for (sal_uInt16 nIdx = 0; nIdx < nCount; nIdx++) in GetAsHorizontalStrip() local 601 Rectangle aDestRect( Point( nIdx * mpImplData->maImageSize.Width(), 0 ), in GetAsHorizontalStrip() 603 ImageAryData *pData = mpImplData->maImages[ nIdx ]; in GetAsHorizontalStrip() 628 for (sal_uInt16 nIdx = 0; nIdx < nItems; nIdx++) in InsertFromHorizontalStrip() local 630 BitmapEx aBitmap( rBitmapEx, Point( nIdx * aSize.Width(), 0 ), aSize ); in InsertFromHorizontalStrip() 631 mpImplData->AddImage( rNameVector[ nIdx ], nIdx + 1, aBitmap ); in InsertFromHorizontalStrip()
|
/trunk/main/sdext/source/pdfimport/xpdfwrapper/ |
H A D | pnghelper.cxx | 195 size_t nIdx = startChunk( "PLTE", o_rOutputBuf ); in createPng() local 204 endChunk( nIdx, o_rOutputBuf ); in createPng() 209 nIdx = startChunk( "tRNS", o_rOutputBuf ); in createPng() 213 endChunk( nIdx, o_rOutputBuf ); in createPng() 231 nIdx = startChunk( "IDAT", o_rOutputBuf ); in createPng() 235 endChunk( nIdx, o_rOutputBuf ); in createPng() 315 size_t nIdx = startChunk( "IDAT", o_rOutputBuf ); in createPng() local 319 endChunk( nIdx, o_rOutputBuf ); in createPng() 399 size_t nIdx = startChunk( "IDAT", o_rOutputBuf ); in createPng() local 403 endChunk( nIdx, o_rOutputBuf ); in createPng()
|
/trunk/main/sw/source/core/layout/ |
H A D | layhelp.hxx | 73 sal_uLong GetBreakIndex( sal_uInt16 nIdx ) const { return GetObject( nIdx ); } in GetBreakIndex() 74 xub_StrLen GetBreakOfst( size_t nIdx ) const { return aOffset[ nIdx ]; } in GetBreakOfst() 75 sal_uInt16 GetBreakType( sal_uInt16 nIdx ) const { return aType[ nIdx ]; } in GetBreakType() 78 SwFlyCache *GetFlyCache( sal_uInt16 nIdx ) const { return aFlyCache[ nIdx ]; } in GetFlyCache()
|
/trunk/main/svx/source/dialog/ |
H A D | fntctrl.cxx | 285 sal_uInt16 nIdx = 0; in CalcTextSize() local 291 nEnd = aScriptChg[ nIdx ]; in CalcTextSize() 292 nScript = aScriptType[ nIdx ]; in CalcTextSize() 311 aTextWidth[ nIdx++ ] = nWidth; in CalcTextSize() 328 nEnd = aScriptChg[ nIdx ]; in CalcTextSize() 329 nScript = aScriptType[ nIdx ]; in CalcTextSize() 364 sal_uInt16 nIdx = 0; in DrawPrev() local 370 nEnd = aScriptChg[ nIdx ]; in DrawPrev() 371 nScript = aScriptType[ nIdx ]; in DrawPrev() 385 rPt.X() += aTextWidth[ nIdx++ ]; in DrawPrev() [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | nmspmap.cxx | 382 sal_uInt16 SvXMLNamespaceMap::GetKeyByIndex( sal_uInt16 nIdx ) const in GetKeyByIndex() 384 return nIdx; in GetKeyByIndex() 426 return AddAtIndex( nIdx, sPrefix, sName, nKey ); in AddAtIndex() 429 OUString SvXMLNamespaceMap::GetAttrNameByIndex( sal_uInt16 nIdx ) const in GetAttrNameByIndex() 431 return GetAttrNameByKey( nIdx ); in GetAttrNameByIndex() 434 OUString SvXMLNamespaceMap::GetQNameByIndex( sal_uInt16 nIdx, in GetQNameByIndex() argument 437 return GetQNameByKey( nIdx, rLocalName ); in GetQNameByIndex() 440 const OUString& SvXMLNamespaceMap::GetPrefixByIndex( sal_uInt16 nIdx ) const in GetPrefixByIndex() 442 NameSpaceMap::const_iterator aIter = aNameMap.find (nIdx); in GetPrefixByIndex() 446 const OUString& SvXMLNamespaceMap::GetNameByIndex( sal_uInt16 nIdx ) const in GetNameByIndex() [all …]
|