/trunk/main/ucb/source/ucp/webdav/ |
H A D | DAVProperties.cxx | 206 sal_Int32 nEnd = rFullName.indexOf( sal_Unicode( ' ' ), nStart ); in isUCBSpecialProperty() local 207 if ( nEnd == -1 ) in isUCBSpecialProperty() 210 rtl::OUString sPropName = rFullName.copy( nStart, nEnd - nStart ); in isUCBSpecialProperty() 215 if ( !rFullName.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "xmlns:prop=\"" ), ++nEnd ) ) in isUCBSpecialProperty() 218 nStart = nEnd + RTL_CONSTASCII_LENGTH( "xmlns:prop=\"" ); in isUCBSpecialProperty() 219 nEnd = rFullName.indexOf( sal_Unicode( '"' ), nStart ); in isUCBSpecialProperty() 220 if ( nEnd != nLen - RTL_CONSTASCII_LENGTH( "\">" ) ) in isUCBSpecialProperty() 223 rtl::OUString sNamesp = rFullName.copy( nStart, nEnd - nStart ); in isUCBSpecialProperty()
|
/trunk/main/sc/source/ui/view/ |
H A D | prevloc.cxx | 117 SCCOL nEnd = nCols; in LimitToArea() local 118 while ( nEnd > 0 && pColInfo[nEnd-1].nPixelStart > rPixelArea.Right() ) in LimitToArea() 119 --nEnd; in LimitToArea() 121 if ( nStart > 0 || nEnd < nCols ) in LimitToArea() 123 if ( nEnd > nStart ) in LimitToArea() 125 SCCOL nNewCount = nEnd - nStart; in LimitToArea() 144 SCROW nEnd = nRows; in LimitToArea() local 145 while ( nEnd > 0 && pRowInfo[nEnd-1].nPixelStart > rPixelArea.Bottom() ) in LimitToArea() 146 --nEnd; in LimitToArea() 148 if ( nStart > 0 || nEnd < nRows ) in LimitToArea() [all …]
|
H A D | hdrcont.cxx | 124 void ScHeaderControl::DoPaint( SCCOLROW nStart, SCCOLROW nEnd ) in DoPaint() argument 133 aRect.Bottom() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint() 138 aRect.Right() = GetScrPos( nEnd+1 )-nLayoutSign; in DoPaint() 243 DrawRect( Rectangle( 0, nStart, nCenterPos-1, nEnd ) ); in DrawShadedRect() 245 DrawRect( Rectangle( nStart, 0, nEnd, nCenterPos-1 ) ); in DrawShadedRect() 248 DrawRect( Rectangle( nCenterPos, nStart, nCenterPos, nEnd ) ); in DrawShadedRect() 250 DrawRect( Rectangle( nStart, nCenterPos, nEnd, nCenterPos ) ); in DrawShadedRect() 253 DrawRect( Rectangle( nCenterPos+1, nStart, nBarSize-1, nEnd ) ); in DrawShadedRect() 255 DrawRect( Rectangle( nStart, nCenterPos+1, nEnd, nBarSize-1 ) ); in DrawShadedRect() 783 SCCOLROW nEnd = nDragNo; in MouseButtonUp() local [all …]
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mmoutputpage.cxx | 774 sal_uInt32 nEnd = 0; in IMPL_LINK() local 778 nEnd = rConfigItem.GetMergedDocumentCount(); in IMPL_LINK() 973 sal_uInt32 nEnd = 0; in IMPL_LINK() local 978 nEnd = rConfigItem.GetMergedDocumentCount(); in IMPL_LINK() 984 if(nEnd > rConfigItem.GetMergedDocumentCount()) in IMPL_LINK() 985 nEnd = rConfigItem.GetMergedDocumentCount(); in IMPL_LINK() 1108 sal_uInt32 nEnd = 0; in IMPL_LINK() local 1112 nEnd = rConfigItem.GetMergedDocumentCount(); in IMPL_LINK() 1118 if(nEnd > rConfigItem.GetMergedDocumentCount()) in IMPL_LINK() 1258 pDlg->SetDocumentCount( nEnd ); in IMPL_LINK() [all …]
|
/trunk/main/sw/source/ui/dialog/ |
H A D | ascfldlg.cxx | 94 sal_uInt16 nEnd, nStt = GetExtraData().Search( rFindNm ); in SwAsciiFilterDlg() local 98 nEnd = GetExtraData().Search( cDialogExtraDataClose, nStt ); in SwAsciiFilterDlg() 99 if( STRING_NOTFOUND != nEnd ) in SwAsciiFilterDlg() 101 aOpt.ReadUserData( GetExtraData().Copy( nStt, nEnd - nStt )); in SwAsciiFilterDlg() 103 GetExtraData().Erase( nStt, nEnd - nStt + 1 ); in SwAsciiFilterDlg() 334 sal_uInt16 nEnd, nStt = GetExtraData().Search( rFindNm ); in FillOptions() local 338 nEnd = GetExtraData().Search( cDialogExtraDataClose, in FillOptions() 340 if( STRING_NOTFOUND != nEnd ) in FillOptions() 341 GetExtraData().Erase( nStt, nEnd - nStt + 1 ); in FillOptions()
|
/trunk/main/comphelper/source/misc/ |
H A D | locale.cxx | 442 sal_Int32 nEnd = 0; in fromISO() local 445 nEnd = sParser.indexOf(SEPERATOR_LC, nStart); in fromISO() 446 if (nEnd<0) in fromISO() 451 setLanguage(sParser.copy(nStart, nEnd-nStart)); in fromISO() 452 nStart = nEnd+1; in fromISO() 455 nEnd = sParser.indexOf(SEPERATOR_CV, nStart); in fromISO() 456 if (nEnd<0) in fromISO() 457 nEnd = sParser.indexOf(SEPERATOR_CV_LINUX, nStart); in fromISO() 458 if (nEnd<0) in fromISO() 463 nStart = nEnd+1; in fromISO()
|
/trunk/main/sw/source/core/edit/ |
H A D | edfmt.cxx | 86 xub_StrLen nStt, nEnd; in FillByEx() local 95 nEnd = pMkPos->nContent.GetIndex(); in FillByEx() 98 nEnd = nStt; in FillByEx() 107 nEnd = nStt; in FillByEx() 111 nEnd = ((SwTxtNode*)pCNd)->GetTxt().Len(); in FillByEx() 115 nStt = nEnd = pPam->GetPoint()->nContent.GetIndex(); in FillByEx() 119 ((SwTxtNode*)pCNd)->GetAttr( aSet, nStt, nEnd ); in FillByEx()
|
H A D | edattr.cxx | 139 nEnd = n == nEndNd ? nEndCnt in GetCurAttr() local 142 ((SwTxtNode*)pNd)->GetAttr( *pSet, nStt, nEnd, in GetCurAttr() 473 xub_StrLen nEnd = sExp.Len(); in lcl_IsNoEndTxtAttrAtPos() local 474 if ( nEnd ) in lcl_IsNoEndTxtAttrAtPos() 480 for( n = 0; n < nEnd; n = (xub_StrLen) in lcl_IsNoEndTxtAttrAtPos() 489 getScriptType( sExp, nEnd-1 )); in lcl_IsNoEndTxtAttrAtPos() 640 xub_StrLen nStt = pStt->nContent.GetIndex(), nEnd; in GetScalingOfSelectedText() local 645 nEnd = pEnd->nContent.GetIndex(); in GetScalingOfSelectedText() 647 nEnd = pTNd->GetTxt().Len(); in GetScalingOfSelectedText() 648 nScaleWidth = pTNd->GetScalingOfSelectedText( nStt, nEnd ); in GetScalingOfSelectedText()
|
/trunk/main/sc/source/core/data/ |
H A D | column.cxx | 1274 SCROW nStart, nEnd; in CopyToColumn() local 1281 if ( nEnd >= nRow1 ) in CopyToColumn() 1389 SCROW nStart = -1, nEnd = -1; in CopyScenarioFrom() local 1395 DeleteArea( nStart, nEnd, IDF_CONTENTS ); in CopyScenarioFrom() 1403 nCol, nEnd, nTab, in CopyScenarioFrom() 1410 pPattern = aAttrIter.Next( nStart, nEnd ); in CopyScenarioFrom() 1420 SCROW nStart = -1, nEnd = -1; in CopyScenarioTo() local 1441 pPattern = aAttrIter.Next( nStart, nEnd ); in CopyScenarioTo() 1450 SCROW nStart = 0, nEnd = 0; in TestCopyScenarioTo() local 1469 SCROW nStart = -1, nEnd = -1; in MarkScenarioIn() local [all …]
|
/trunk/main/i18npool/source/search/ |
H A D | textsearch.cxx | 203 sal_Int32 nRet = 0, nEnd = rOff.getLength(); in FindPosInSeq_Impl() local 204 while( nRet < nEnd && nPos > rOff[ nRet ] ) ++nRet; in FindPosInSeq_Impl() 882 sal_Int32 nStt, nEnd; in ApproxSrchFrwrd() local 893 nEnd = aWBnd.endPos > endPos ? endPos : aWBnd.endPos; in ApproxSrchFrwrd() 895 if( nStt < nEnd && in ApproxSrchFrwrd() 902 aRet.endOffset[ 0 ] = nEnd; in ApproxSrchFrwrd() 906 nStt = nEnd - 1; in ApproxSrchFrwrd() 929 sal_Int32 nStt, nEnd; in ApproxSrchBkwrd() local 940 nEnd = aWBnd.endPos > startPos ? startPos : aWBnd.endPos; in ApproxSrchBkwrd() 942 if( nStt < nEnd && in ApproxSrchBkwrd() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | portxt.cxx | 71 xub_StrLen nPos, nEnd; in lcl_AddSpace() local 78 nEnd = pStr->Len(); in lcl_AddSpace() 83 nEnd = rInf.GetIdx() + rPor.GetLen(); in lcl_AddSpace() 107 if ( nEnd > nPos && ASIAN == nScript ) in lcl_AddSpace() 120 nCnt += nEnd - nPos; in lcl_AddSpace() 131 if ( nEnd > nPos && pSI && COMPLEX == nScript ) in lcl_AddSpace() 135 const sal_uInt16 nKashRes = pSI->KashidaJustify( 0, 0, nPos, nEnd - nPos ); in lcl_AddSpace() 144 if ( nEnd > nPos && COMPLEX == nScript ) in lcl_AddSpace() 151 nCnt = SwScriptInfo::ThaiJustify( *pStr, 0, 0, nPos, nEnd - nPos ); in lcl_AddSpace() 170 LATIN == nScript && ( nEnd == nPos + 1 ) && pSI && in lcl_AddSpace() [all …]
|
H A D | itratr.cxx | 377 xub_StrLen nIdx, xub_StrLen nEnd ) in lcl_MinMaxString() argument 380 while( nIdx < nEnd ) in lcl_MinMaxString() 396 if( nStop > nEnd ) in lcl_MinMaxString() 397 nStop = nEnd; in lcl_MinMaxString() 401 while( nStop < nEnd && CH_BLANK != rTxt.GetChar( nStop ) ) in lcl_MinMaxString() 850 if ( nStt == nEnd ) in GetScalingOfSelectedText() 872 nEnd = (xub_StrLen)aBound.endPos; in GetScalingOfSelectedText() 874 if ( nStt == nEnd ) in GetScalingOfSelectedText() 889 SwTxtAttrEnd aAttr( aItem, nStt, nEnd ); in GetScalingOfSelectedText() 898 while( nIdx < nEnd ) in GetScalingOfSelectedText() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | rolbck.hxx | 204 SwHistoryResetTxt( sal_uInt16 nWhich, xub_StrLen nStt, xub_StrLen nEnd, 306 xub_StrLen nEnd = STRING_MAXLEN ); 398 sal_uInt16 nStart = 0, sal_uInt16 nEnd = USHRT_MAX ) in Move() argument 400 m_SwpHstry.Insert( &pIns->m_SwpHstry, nPos, nStart, nEnd ); in Move() 401 pIns->m_SwpHstry.Remove( nStart, (nEnd == USHRT_MAX) in Move() 403 : nEnd ); in Move() 412 const xub_StrLen nEnd, 441 xub_StrLen const nStart, xub_StrLen const nEnd,
|
/trunk/main/editeng/source/uno/ |
H A D | unoedhlp.cxx | 44 …rceHint::SvxEditSourceHint( sal_uLong _nId, sal_uLong nValue, sal_uLong nStart, sal_uLong nEnd ) : in SvxEditSourceHint() argument 47 mnEnd( nEnd ) in SvxEditSourceHint() 151 aEEAttr.nEnd = aTempCharAttribs[nAttr].nStart; in GetAttributeRun() 154 nIndex2 = aTempCharAttribs[nAttr].nEnd; in GetAttributeRun() 161 aEEAttr.nEnd = sal_uInt16(nParaLen); in GetAttributeRun() 181 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun() 195 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun() 314 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun()
|
/trunk/main/sw/source/core/fields/ |
H A D | reffld.cxx | 286 sal_uInt16 nEnd = USHRT_MAX; in UpdateField() local 304 nEnd = pTxtNd->GetTxt().Len(); in UpdateField() 308 if( nStt + 1 < nEnd ) in UpdateField() 309 nEnd = nStt + 1; in UpdateField() 318 else if( nStt + 1 < nEnd ) in UpdateField() 324 if( nStt + 1 < nEnd ) in UpdateField() 325 nEnd = nStt + 1; in UpdateField() 335 if( USHRT_MAX == nEnd ) in UpdateField() 339 nEnd = pTxtNd->GetTxt().Len(); in UpdateField() 358 nStt = nEnd; // kein Bereich, der String ist fertig in UpdateField() [all …]
|
/trunk/main/svl/source/inc/ |
H A D | poolio.hxx | 38 SfxPoolVersion_Impl( sal_uInt16 nVer, sal_uInt16 nStart, sal_uInt16 nEnd, in SfxPoolVersion_Impl() 42 _nEnd( nEnd ), in SfxPoolVersion_Impl() 84 SfxItemPool_Impl( sal_uInt16 nStart, sal_uInt16 nEnd ) in SfxItemPool_Impl() 85 : ppPoolItems (new SfxPoolItemArray_Impl*[ nEnd - nStart + 1]) in SfxItemPool_Impl() 97 memset( ppPoolItems, 0, sizeof( SfxPoolItemArray_Impl* ) * ( nEnd - nStart + 1) ); in SfxItemPool_Impl() 207 DBG_ASSERT(nWhich >= nStart && nWhich <= nEnd, "Which-Id nicht im Pool-Bereich"); in GetIndex_Impl()
|
/trunk/main/editeng/source/editeng/ |
H A D | impedit5.cxx | 437 SfxItemSet ImpEditEngine::GetAttribs( sal_uInt32 nPara, sal_uInt16 nStart, sal_uInt16 nEnd, sal_uIn… in GetAttribs() argument 446 DBG_ASSERT( nStart <= nEnd, "getAttribs: Start > End not supported!" ); in GetAttribs() 452 if ( nEnd > pNode->Len() ) in GetAttribs() 453 nEnd = pNode->Len(); in GetAttribs() 455 if ( nStart > nEnd ) in GetAttribs() 456 nStart = nEnd; in GetAttribs() 478 if ( nStart == nEnd ) in GetAttribs() 496 if ( ( pAttr->GetStart() < nEnd ) && ( pAttr->GetEnd() > nStart ) ) in GetAttribs() 498 if ( ( pAttr->GetStart() <= nStart ) && ( pAttr->GetEnd() >= nEnd ) ) in GetAttribs() 516 if ( pAttr->GetStart() > nEnd ) in GetAttribs() [all …]
|
/trunk/main/sw/source/ui/docvw/ |
H A D | srcedtw.cxx | 68 sal_uInt16 nStart, nEnd; member 112 aText.nEnd = nActPos - 1; in lcl_Highlight() 203 aTextPortion.nEnd = nPortEnd; in lcl_Highlight() 218 aText.nEnd = nActPos - 1; in lcl_Highlight() 748 if ( rLast.nStart > rLast.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() 775 if ( r.nStart > r.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() 784 nLastEnd = r.nEnd+1; in ImpDoHighlight() 785 if ( ( i == (nCount-1) ) && ( r.nEnd < rSource.Len() ) ) in ImpDoHighlight() 786 r.nEnd = rSource.Len(); in ImpDoHighlight() 793 if ( r.nStart > r.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() [all …]
|
/trunk/main/ucb/source/sorter/ |
H A D | sortresult.cxx | 1330 long nEnd = _nEnd; in FindPos() local 1335 while ( nStart <= nEnd ) in FindPos() 1345 nEnd = nMid - 1; in FindPos() 1523 long i, nEnd; in InsertNew() local 1525 nEnd = maS2O.Count(); in InsertNew() 1526 for ( i=1; i<=nEnd; i++ ) in InsertNew() 1539 nEnd += 1; in InsertNew() 1631 long nEnd = nStart + nOffset; in Move() local 1632 for ( i=nStart; i<nEnd; i++ ) in Move() 1756 long nStart, nEnd, nOffset, nVal; in ResortModified() local [all …]
|
/trunk/main/tools/source/communi/ |
H A D | parser.cxx | 78 xub_StrLen nEnd = sLine.Len(); in ReadLine() local 80 … while ( nStart < nEnd && ( sLine.GetChar( nStart ) == ' ' || sLine.GetChar( nStart ) == 0x09 ) ) in ReadLine() 86 … while ( nStart < nEnd && ( sLine.GetChar( nEnd-1 ) == ' ' || sLine.GetChar( nEnd-1 ) == 0x09 ) ) in ReadLine() 88 nEnd--; in ReadLine() 93 sLine = sLine.Copy( nStart, nEnd - nStart ); in ReadLine()
|
/trunk/main/formula/source/ui/dlg/ |
H A D | FormulaHelper.cxx | 136 xub_StrLen nEnd = 0; in FillArgStrings() local 146 nEnd = GetArgStart( rFormula, nFuncPos, i+1 ); in FillArgStrings() 148 if ( nEnd != nStart ) in FillArgStrings() 149 _rArgs.push_back(rFormula.Copy( nStart, nEnd-1-nStart )); in FillArgStrings() 155 nEnd = GetFunctionEnd( rFormula, nFuncPos )-1; in FillArgStrings() 156 if ( nStart < nEnd ) in FillArgStrings() 157 _rArgs.push_back( rFormula.Copy( nStart, nEnd-nStart ) ); in FillArgStrings()
|
/trunk/main/sc/source/filter/dif/ |
H A D | difimp.cxx | 853 if( pAkt->nEnd == nRow ) in SetLogical() 854 pAkt->nEnd++; in SetLogical() 861 pAkt->nStart = pAkt->nEnd = nRow; in SetLogical() 877 DBG_ASSERT( nRow > pAkt->nEnd, in SetNumFormat() 880 if( pAkt->nNumFormat == nNumFormat && pAkt->nEnd == nRow - 1 ) in SetNumFormat() 881 pAkt->nEnd = nRow; in SetNumFormat() 896 pAkt->nStart = pAkt->nEnd = nPos; in NewEntry() 908 rDoc.ApplyPatternAreaTab( nCol, pEntry->nStart, nCol, pEntry->nEnd, in Apply() 928 rDoc.ApplyPatternAreaTab( nCol, pEntry->nStart, nCol, pEntry->nEnd, nTab, aAttr ); in Apply()
|
/trunk/main/filter/source/xsltdialog/ |
H A D | xmlfileview.cxx | 74 sal_uInt16 nStart, nEnd; member 707 aText.nEnd = nActPos - 1; in lcl_Highlight() 800 aText2.nEnd = nPortEnd; in lcl_Highlight() 815 aText.nEnd = nActPos - 1; in lcl_Highlight() 841 if ( rLast.nStart > rLast.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() 864 if ( r.nStart > r.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() 873 nLastEnd = r.nEnd+1; in ImpDoHighlight() 874 if ( ( i == (nCount-1) ) && ( r.nEnd < rSource.Len() ) ) in ImpDoHighlight() 875 r.nEnd = rSource.Len(); in ImpDoHighlight() 883 if ( r.nStart > r.nEnd ) // Nur bis Bug von MD behoeben in ImpDoHighlight() [all …]
|
/trunk/main/sfx2/source/doc/ |
H A D | objstor.cxx | 2327 for ( i = 0; i < nEnd; i++ ) in InsertFrom() 2338 aArgs.realloc ( ++nEnd ); in InsertFrom() 2345 aArgs.realloc ( ++nEnd ); in InsertFrom() 2350 aArgs.realloc( ++nEnd ); in InsertFrom() 2423 for ( i = 0; i < nEnd; i++ ) in ImportFrom() 2434 aArgs.realloc ( ++nEnd ); in ImportFrom() 2441 aArgs.realloc ( ++nEnd ); in ImportFrom() 2540 for ( i = 0; i < nEnd; i++ ) in ExportTo() 2555 aArgs.realloc ( ++nEnd ); in ExportTo() 2563 aArgs.realloc ( ++nEnd ); in ExportTo() [all …]
|
/trunk/main/sw/inc/ |
H A D | ndtxt.hxx | 301 const xub_StrLen nStart, const xub_StrLen nEnd, 309 const xub_StrLen nEnd, 319 sal_Bool GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd, 330 const xub_StrLen nStart, const xub_StrLen nEnd = 0 ); 703 void DelSoftHyph( const xub_StrLen nStart, const xub_StrLen nEnd ); 785 xub_StrLen nStart, xub_StrLen nEnd, 789 void CountWords( SwDocStat& rStat, xub_StrLen nStart, xub_StrLen nEnd ) const; 815 sal_uInt16 GetScalingOfSelectedText( xub_StrLen nStt, xub_StrLen nEnd ) const;
|