/trunk/main/sw/source/filter/html/ |
H A D | htmlcss1.cxx | 603 nPos = 0; in GetScriptFromClass() 607 nPos++; in GetScriptFromClass() 608 nLen = nLen - nPos; in GetScriptFromClass() 632 if( nPos ) in GetScriptFromClass() 634 rClass.Erase( nPos-1 ); in GetScriptFromClass() 661 rToken.Erase( nPos ); in GetTokenAndClass() 2247 if( nPos <= nContextStMin ) in PopContext() 2270 nPos--; in PopContext() 2276 pCntxt = aContexts[nPos]; in PopContext() 2292 if( !nPos ) in GetMarginsFromContext() [all …]
|
H A D | htmlforw.cxx | 137 sal_Int32 nCount = xIndexAcc->getCount(), nPos; in SV_IMPL_OP_PTRARR_SORT() local 138 for( nPos = 0 ; nPos < nCount; nPos++ ) in SV_IMPL_OP_PTRARR_SORT() 164 if( nPos == nCount ) in SV_IMPL_OP_PTRARR_SORT() 595 sal_Int32 nPos = 0; in OutHiddenControls() local 600 for( nPos=0; !bDone && nPos < nCount; nPos++ ) in OutHiddenControls() 613 for( ; nPos < nCount; nPos++ ) in OutHiddenControls() 1310 xub_StrLen nPos = 0; in OutHTML_DrawFrmFmtAsControl() local 1311 while ( nPos != STRING_NOTFOUND ) in OutHTML_DrawFrmFmtAsControl() 1313 if( nPos ) in OutHTML_DrawFrmFmtAsControl() 1371 sal_uInt16 nPos = 0; in AddControl() local [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | textconv.cxx | 491 xub_StrLen nPos = 0; in ChangeText() local 510 if (nPos < nConvTextLen) in ChangeText() 511 nIndex = (sal_Int32) nPos < nIndices ? (xub_StrLen) pIndices[nPos] : nPos; in ChangeText() 514 nPos = nConvTextLen; in ChangeText() 518 if (rOrigText.getStr()[nIndex] == rNewText.GetChar(nPos) || in ChangeText() 519 nPos == nConvTextLen /* end of string also terminates non-matching char sequence */) in ChangeText() 525 nConvChgLen = nPos - nConvChgPos; in ChangeText() 558 nConvChgPos = nPos; in ChangeText() 561 if (nPos >= nConvTextLen) in ChangeText() 563 ++nPos; in ChangeText()
|
/trunk/main/filter/source/msfilter/ |
H A D | msvbasic.cxx | 543 unsigned int nPos = 0; in DecompressVBA() local 564 int nPos2 = nPos % nWINDOWLEN; in DecompressVBA() 599 c = aHistory[(nPos-nDistance-1) % nWINDOWLEN]; in DecompressVBA() 600 aHistory[nPos % nWINDOWLEN] = c; in DecompressVBA() 601 nPos++; in DecompressVBA() 612 if ((nPos != 0) && ((nPos % nWINDOWLEN) == 0) && (nClean)) in DecompressVBA() 622 if (xVBAStream->Read(&aHistory[nPos % nWINDOWLEN],1)) in DecompressVBA() 623 nPos++; in DecompressVBA() 630 if (nPos % nWINDOWLEN) in DecompressVBA() 631 Output(nPos % nWINDOWLEN,aHistory); in DecompressVBA() [all …]
|
/trunk/main/tools/source/memtools/ |
H A D | multisel.cxx | 62 for ( sal_uIntPtr nPos = 0; nPos < pSel->aSels.Count(); ++nPos ) in Print() local 64 DbgOutf( "SubSel #%2ld: %4ld-%4ld\n", nPos, in Print() 65 pSel->aSels.GetObject(nPos)->Min(), in Print() 66 pSel->aSels.GetObject(nPos)->Max() ); in Print() 607 for ( sal_uIntPtr nPos = nSubSelPos; nPos < aSels.Count(); ++nPos ) in Insert() local 609 aSels.GetObject(nPos)->Min() += nCount; in Insert() 610 aSels.GetObject(nPos)->Max() += nCount; in Insert() 648 for ( sal_uIntPtr nPos = nSubSelPos; nPos < aSels.Count(); ++nPos ) in Remove() local 650 --( aSels.GetObject(nPos)->Min() ); in Remove() 651 --( aSels.GetObject(nPos)->Max() ); in Remove()
|
/trunk/main/sc/source/ui/view/ |
H A D | hdrcont.cxx | 301 SCCOLROW nPos = GetPos(); in Paint() local 330 for (SCCOLROW i=nPos; i<nSize; i++) in Paint() 508 SCCOLROW nEntryNo = nCount + nPos; in Paint() 612 SCCOLROW nPos = GetPos(); in GetMousePos() local 613 SCCOLROW nHitNo = nPos; in GetMousePos() 624 nScrPos = GetScrPos( nPos ) - nLayoutSign; in GetMousePos() 627 SCCOLROW nEntryNo = nCount + nPos; in GetMousePos() 652 bool ScHeaderControl::IsSelectionAllowed(SCCOLROW nPos) const in IsSelectionAllowed() 670 SCROW nRPos = static_cast<SCROW>(nPos); in IsSelectionAllowed() 676 SCCOL nCPos = static_cast<SCCOL>(nPos); in IsSelectionAllowed() [all …]
|
/trunk/main/sfx2/source/control/ |
H A D | dispatch.cxx | 1240 for( sal_uInt16 nPos = 0; nPos < nCount; nPos++ ) in SfxExecuteItem() local 1241 Insert( rArg[ nPos ]->Clone(), nPos ); in SfxExecuteItem() 1269 for( sal_uInt16 nPos = rItem.Count(); nPos--; ) in Execute() local 1270 pPtr[ nPos ] = rItem.GetObject( nPos ); in Execute() 1807 nPos &= SFX_POSITION_MASK; in _Update_Impl() 1810 rBar.nMode = nPos; in _Update_Impl() 1878 for ( sal_uInt16 nPos=0; nPos<SFX_OBJECTBAR_MAX; nPos++ ) in _Update_Impl() local 3047 DBG_ASSERT( nPos <= nCount, "" ); in IsAllowed() 3048 DBG_ASSERT( nPos == nCount || nSlot <= rList[nPos], "" ); in IsAllowed() 3049 DBG_ASSERT( nPos == 0 || nSlot > rList[nPos-1], "" ); in IsAllowed() [all …]
|
/trunk/main/writerfilter/source/doctok/ |
H A D | WW8Sttbf.cxx | 60 sal_uInt32 WW8Sttbf::getEntryOffset(sal_uInt32 nPos) const in getEntryOffset() 62 return mEntryOffsets[nPos]; in getEntryOffset() 65 sal_uInt32 WW8Sttbf::getExtraOffset(sal_uInt32 nPos) const in getExtraOffset() 67 return mExtraOffsets[nPos]; in getExtraOffset() 75 rtl::OUString WW8Sttbf::getEntry(sal_uInt32 nPos) const in getEntry() 77 return getString(getEntryOffset(nPos)); in getEntry() 80 WW8StructBase::Pointer_t WW8Sttbf::getExtraData(sal_uInt32 nPos) in getExtraData() argument 83 (new WW8StructBase(*this, getExtraOffset(nPos), mnExtraDataCount)); in getExtraData()
|
/trunk/main/svtools/source/misc/ |
H A D | langtab.cxx | 142 sal_uInt32 nPos = FindIndex( eLang ); in GetString() local 144 if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) in GetString() 145 return ResStringArray::GetString( nPos ); in GetString() 153 nPos = FindIndex( LANGUAGE_DONTKNOW ); in GetString() 155 if ( RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count() ) in GetString() 156 return ResStringArray::GetString( nPos ); in GetString()
|
/trunk/main/sw/source/ui/chrdlg/ |
H A D | break.cxx | 73 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in Apply() local 74 if(0 != nPos && LISTBOX_ENTRY_NOTFOUND != nPos) in Apply() 124 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in IMPL_LINK_INLINE_END() local 127 if ( 0 != nPos && LISTBOX_ENTRY_NOTFOUND != nPos ) in IMPL_LINK_INLINE_END() 241 const sal_uInt16 nPos = aPageCollBox.GetSelectEntryPos(); in CheckEnable() local 242 if ( 0 == nPos || LISTBOX_ENTRY_NOTFOUND == nPos ) in CheckEnable()
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | cdeint.cxx | 98 int nPos = nIndex; in GetSystemLook() local 119 for( ; nPos >= 0 && aLine.GetChar( nPos ) != '*'; nPos-- ) in GetSystemLook() 121 nPos--; in GetSystemLook() 122 for( ; nPos >= 0 && aLine.GetChar( nPos ) != '*'; nPos-- ) in GetSystemLook() 124 int nNumber = aLine.Copy( ++nPos ).ToInt32(); in GetSystemLook()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | txatritr.cxx | 56 xub_StrLen nPos = nStt; in SwScriptIterator() local 57 nCurScript = pBreakIt->GetBreakIter()->getScriptType( rText, nPos ); in SwScriptIterator() 60 if( nPos ) in SwScriptIterator() 62 nPos = (xub_StrLen)pBreakIt->GetBreakIter()->beginOfScript( in SwScriptIterator() 63 rText, nPos, nCurScript ); in SwScriptIterator() 64 if( nPos && nPos < rText.Len() ) in SwScriptIterator() 66 nStt = --nPos; in SwScriptIterator() 67 nCurScript = pBreakIt->GetBreakIter()->getScriptType( rText,nPos); in SwScriptIterator()
|
/trunk/main/svtools/inc/svtools/ |
H A D | headbar.hxx | 275 SVT_DLLPRIVATE long ImplGetItemPos( sal_uInt16 nPos ) const; 276 SVT_DLLPRIVATE Rectangle ImplGetItemRect( sal_uInt16 nPos ) const; 278 …SVT_DLLPRIVATE sal_uInt16 ImplHitTest( const Point& rPos, long& nMouseOff, sal_uInt16& nPos ) c… 281 sal_uInt16 nPos, sal_Bool bHigh, sal_Bool bDrag, 285 SVT_DLLPRIVATE void ImplDrawItem( sal_uInt16 nPos, sal_Bool bHigh = sal_False, 288 SVT_DLLPRIVATE void ImplUpdate( sal_uInt16 nPos, 320 sal_uInt16 nPos = HEADERBAR_APPEND ); 323 sal_uInt16 nPos = HEADERBAR_APPEND ); 327 sal_uInt16 nPos = HEADERBAR_APPEND ); 339 sal_uInt16 GetItemId( sal_uInt16 nPos ) const;
|
/trunk/main/sw/source/core/text/ |
H A D | frminf.cxx | 194 const xub_StrLen nPos, const xub_StrLen nLen ) in AddPam() argument 203 if( nPos == pPam->GetPoint()->nContent.GetIndex() ) in AddPam() 212 rContent.Assign( (SwTxtNode*)pTxtFrm->GetTxtNode(), nPos ); in AddPam() 230 xub_StrLen nPos = aLine.GetTxtStart(); in GetSpaces() local 233 if( !bFirstLine && nPos > aLine.GetStart() ) in GetSpaces() 235 nPos - aLine.GetStart() ); in GetSpaces() 241 nPos = aLine.GetTxtEnd(); in GetSpaces() 243 if( nPos < aLine.GetEnd() ) in GetSpaces() 248 pPam = AddPam( pPam, pFrm, nPos, aLine.GetEnd() - nPos - nOff ); in GetSpaces()
|
/trunk/main/cui/source/dialogs/ |
H A D | hldocntp.cxx | 95 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in ImplGetURLObject() local 96 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in ImplGetURLObject() 97 … aURLObject.SetExtension( ((DocumentTypeData*)maLbDocTypes.GetEntryData( nPos ))->aStrExt ); in ImplGetURLObject() 220 sal_Int16 nPos = maLbDocTypes.InsertEntry ( aTitleName ); in FillDocumentList() local 223 maLbDocTypes.SetEntryData ( nPos, pTypeData ); in FillDocumentList() 350 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in DoApply() local 351 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in DoApply() 352 nPos=0; in DoApply() 354 maLbDocTypes.GetEntryData( nPos ) )->aStrURL ); in DoApply() 469 sal_uInt16 nPos = maLbDocTypes.GetSelectEntryPos(); in IMPL_LINK() local [all …]
|
/trunk/main/xmloff/source/core/ |
H A D | nmspmap.cxx | 542 sal_Int32 nPos = rOasisURN.getLength(); in NormalizeOasisURN() local 543 if( nPos >= nNameLen || rName[nPos] != ':' ) in NormalizeOasisURN() 547 sal_Int32 nTCIdStart = nPos+1; in NormalizeOasisURN() 553 nPos = nTCIdEnd + 1; in NormalizeOasisURN() 554 OUString sTmp( rName.copy( nPos ) ); in NormalizeOasisURN() 560 nPos += rXMLNS.getLength(); in NormalizeOasisURN() 561 if( nPos >= nNameLen || rName[nPos] != ':' ) in NormalizeOasisURN() 565 nPos = rName.indexOf( ':', nPos+1 ); in NormalizeOasisURN() 566 if( -1 == nPos ) in NormalizeOasisURN() 570 sal_Int32 nVersionStart = nPos+1; in NormalizeOasisURN()
|
/trunk/main/sw/source/core/edit/ |
H A D | edattr.cxx | 413 sal_Bool lcl_IsNoEndTxtAttrAtPos( const SwTxtNode& rTNd, xub_StrLen nPos, in lcl_IsNoEndTxtAttrAtPos() argument 455 if ( CH_TXTATR_BREAKWORD == rTxt.GetChar( nPos ) ) in lcl_IsNoEndTxtAttrAtPos() 457 const SwTxtAttr* const pAttr = rTNd.GetTxtAttrForCharAt( nPos ); in lcl_IsNoEndTxtAttrAtPos() 516 xub_StrLen nPos = pStt->nContent.GetIndex(); in GetScriptType() local 519 if( nPos ) in GetScriptType() 523 nPos = aIdx.GetIndex(); in GetScriptType() 531 pScriptInfo->ScriptType( nPos ) : in GetScriptType() 620 xub_StrLen nPos = rPos.nContent.GetIndex(); in GetCurLang() local 621 if( nPos && !pCrsr->HasMark() ) in GetCurLang() 622 --nPos; in GetCurLang() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | linkmgr2.cxx | 123 void LinkManager::Remove( sal_uInt16 nPos, sal_uInt16 nCnt ) in Remove() argument 125 if( nCnt && nPos < aLinkTbl.Count() ) in Remove() 127 if( nPos + nCnt > aLinkTbl.Count() ) in Remove() 128 nCnt = aLinkTbl.Count() - nPos; in Remove() 130 SvBaseLinkRef** ppRef = (SvBaseLinkRef**)aLinkTbl.GetData() + nPos; in Remove() 140 aLinkTbl.Remove( nPos, nCnt ); in Remove() 237 sal_uInt16 nPos = 0; in GetDisplayNames() local 246 *pFilter = sLNm.Copy( nPos ); in GetDisplayNames() 416 sal_uInt16 nPos = aServerTbl.GetPos( pObj ); in RemoveServer() local 417 if( USHRT_MAX != nPos ) in RemoveServer() [all …]
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | pvfundlg.cxx | 108 sal_uInt16 nPos = nStartPos; in lclFindListBoxEntry() local 109 while( (nPos < rLBox.GetEntryCount()) && (rLBox.GetEntry( nPos ) != rEntry) ) in lclFindListBoxEntry() 110 ++nPos; in lclFindListBoxEntry() 111 return (nPos < rLBox.GetEntryCount()) ? nPos : LISTBOX_ENTRY_NOTFOUND; in lclFindListBoxEntry() 324 …sal_uInt16 nPos = lclFindListBoxEntry( maLbBaseItem, rFuncData.maFieldRef.ReferenceItemName, nStar… in Init() local 325 if( nPos >= maLbBaseItem.GetEntryCount() ) in Init() 326 …nPos = (maLbBaseItem.GetEntryCount() > SC_BASEITEM_USER_POS) ? SC_BASEITEM_USER_POS : SC_BASEITEM_… in Init() 327 maLbBaseItem.SelectEntryPos( nPos ); in Init() 564 for( sal_uInt16 nPos = 0; nPos < nVisCount; ++nPos ) in FillLabelData() local 565 rLabelData.maMembers[nPos].mbVisible = !maLbHide.IsChecked(nPos); in FillLabelData()
|
/trunk/main/vcl/unx/generic/printer/ |
H A D | ppdparser.cxx | 925 aKey.Erase( nPos ); in parse() 1127 aKey.Erase( nPos ); in parse() 1162 int nPos = aKey.Search( ':' ); in parseOpenUI() local 1163 if( nPos != STRING_NOTFOUND ) in parseOpenUI() 1164 aKey.Erase( nPos ); in parseOpenUI() 1165 nPos = aKey.Search( '/' ); in parseOpenUI() 1166 if( nPos != STRING_NOTFOUND ) in parseOpenUI() 1169 aKey.Erase( nPos ); in parseOpenUI() 1201 if( nPos != STRING_NOTFOUND ) in parseOrderDependency() 1202 aLine.Erase( 0, nPos+1 ); in parseOrderDependency() [all …]
|
/trunk/main/filter/source/graphicfilter/ios2met/ |
H A D | ios2met.cxx | 2245 sal_uLong nPos, nMaxPos; in ReadFont() local 2254 nPos=pOS2MET->Tell(); in ReadFont() 2310 nPos+=nLen; pOS2MET->Seek(nPos); in ReadFont() 2335 nPos=pOS2MET->Tell(); in ReadField() 2357 pOS2MET->Seek(nPos); in ReadField() 2416 nPos=pOS2MET->Tell(); in ReadField() 2424 nPos+=4; in ReadField() 2428 nPos+=2; in ReadField() 2432 pOS2MET->Seek(nPos); in ReadField() 2616 nPos=pOS2MET->Tell(); in ReadOS2MET() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | unchss.cxx | 74 sal_uInt16 nPos = aName.Search(aSep); in StyleSheetUndoAction() local 75 if( nPos != STRING_NOTFOUND ) in StyleSheetUndoAction() 76 aName.Erase(0, nPos + aSep.Len()); in StyleSheetUndoAction() 101 nPos = aName.Search(aOutlineStr); in StyleSheetUndoAction() 102 if (nPos != STRING_NOTFOUND) in StyleSheetUndoAction() 111 nPos = aComment.Search(sal_Unicode('$')); in StyleSheetUndoAction() 112 aComment.Erase(nPos, 1); in StyleSheetUndoAction() 113 aComment.Insert(aName, nPos); in StyleSheetUndoAction()
|
/trunk/main/framework/source/services/ |
H A D | substitutepathvars.cxx | 1034 sal_Int32 nPos = aURL.indexOf( aValue ); in impl_reSubstituteVariables() local 1035 if ( nPos >= 0 ) in impl_reSubstituteVariables() 1046 if ( nPos > 0 ) in impl_reSubstituteVariables() 1061 …aStrBuffer.append( aURL.copy( nPos + aValue.getLength(), ( aURL.getLength() - ( nPos + aValue.getL… in impl_reSubstituteVariables() 1074 sal_Int32 nPos = aURL.indexOf( aVarValue ); in impl_reSubstituteVariables() local 1075 if ( nPos >= 0 ) in impl_reSubstituteVariables() 1078 aStrBuffer.append( aURL.copy( 0, nPos ) ); in impl_reSubstituteVariables() 1082 …aStrBuffer.append( aURL.copy( nPos + aVarValue.getLength(), ( aURL.getLength() - ( nPos + aVarVal… in impl_reSubstituteVariables() 1104 sal_Int32 nPos = rVariable.indexOf( m_aVarStart ); in impl_getSubstituteVariableValue() local 1105 if ( nPos == -1 ) in impl_getSubstituteVariableValue() [all …]
|
/trunk/main/framework/source/tabwin/ |
H A D | tabwindow.cxx | 652 if ( nPos == TAB_PAGE_NOTFOUND ) in removeTab() 665 nPos = pTabControl->GetPagePos( sal_uInt16( nCurTabId )); in removeTab() 666 if ( nPos != TAB_PAGE_NOTFOUND && nCurTabId != ID ) in removeTab() 684 if ( nPos == TAB_PAGE_NOTFOUND ) in setTabProps() 691 sal_Int32 nNewPos = nPos; in setTabProps() 698 if ( nNewPos != sal_Int32( nPos )) in setTabProps() 700 nPos = sal_uInt16( nNewPos ); in setTabProps() 701 if ( nPos >= pTabControl->GetPageCount() ) in setTabProps() 702 nPos = TAB_APPEND; in setTabProps() 732 if ( nPos == TAB_PAGE_NOTFOUND ) in getTabProps() [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | fillctrl.cxx | 292 sal_uInt16 nPos = mpFillAttrLB->InsertEntry(aColor,aTmpStr); in Update() local 293 mpFillAttrLB->SelectEntryPos(nPos); in Update() 793 sal_uInt16 nPos = mpLbFillAttr->GetSelectEntryPos(); in IMPL_LINK() local 799 if(nPos < pItem->GetGradientList()->Count()) // kein temp. Eintrag ? in IMPL_LINK() 814 sal_uInt16 nPos = mpLbFillAttr->GetSelectEntryPos(); in IMPL_LINK() local 816 if(nPos != LISTBOX_ENTRY_NOTFOUND && pSh && pSh->GetItem(SID_HATCH_LIST)) in IMPL_LINK() 820 if(nPos < pItem->GetHatchList()->Count()) // kein temp. Eintrag ? in IMPL_LINK() 822 XHatch aHatch = pItem->GetHatchList()->GetHatch(nPos)->GetHatch(); in IMPL_LINK() 836 sal_uInt16 nPos = mpLbFillAttr->GetSelectEntryPos(); in IMPL_LINK() local 838 if(nPos != LISTBOX_ENTRY_NOTFOUND && pSh && pSh->GetItem(SID_BITMAP_LIST)) in IMPL_LINK() [all …]
|