/trunk/main/stoc/source/implementationregistration/ |
H A D | mergekeys.cxx | 108 for ( sal_Int32 nPos = sourceKeys.getLength(); nPos--; ) in mergeKeys() local 111 OUString name( pSourceKeys[ nPos ] ); in mergeKeys() 145 pSourceKeys[ nPos ], // abs path in mergeKeys() 175 for ( size_t nPos = links.size(); nPos--; ) in mergeKeys() local 177 Link const & r = links[ nPos ]; in mergeKeys()
|
/trunk/main/extensions/source/xmlextract/ |
H A D | xmxtrct.cxx | 50 virtual ErrCode ReadAt( sal_Size nPos, void* pBuffer, sal_Size nCount, sal_Size* pRead ) const; 51 …virtual ErrCode WriteAt( sal_Size nPos, const void* pBuffer, sal_Size nCount, sal_Size* pWritt… 92 ErrCode XMXLockBytes::ReadAt( sal_Size nPos, void* pBuffer, sal_Size nCount, sal_Size* pRead ) const in ReadAt() argument 97 if( nPos < nSeqLen ) in ReadAt() 99 if( ( nPos + nCount ) > nSeqLen ) in ReadAt() 100 nCount = nSeqLen - nPos; in ReadAt() 102 rtl_copyMemory( pBuffer, maSeq.getConstArray() + nPos, nCount ); in ReadAt()
|
/trunk/main/sc/source/core/tool/ |
H A D | addincol.cxx | 647 if ( nPos != STRING_NOTFOUND && nPos > 0 ) in LoadComponent() 649 String aServiceName = aFullName.Copy( 0, nPos ); in LoadComponent() 1049 for (sal_uLong nPos=0; nPos<nCount; nPos++) in lcl_UpdateFunctionList() local 1064 for (long nPos=0; nPos<nArgCount; nPos++) in lcl_FindArgDesc() local 1067 return &pArguments[nPos]; in lcl_FindArgDesc() 1434 ScAddInArgumentType ScUnoAddInCall::GetArgType( long nPos ) in GetArgType() argument 1445 if ( nPos < nCount ) in GetArgType() 1446 return pArgs[nPos].eType; in GetArgType() 1478 long nVarPos = nPos-(nCount-1); in SetParam() 1486 else if ( nPos < aArgs.getLength() ) in SetParam() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | linkuno.cxx | 576 sal_uInt16 nPos = 0; in getElementNames() local 584 pAry[nPos++] = aLinkDoc; in getElementNames() 589 DBG_ASSERT( nPos==nLinkCount, "verzaehlt" ); in getElementNames() 609 if ( nAreaCount == nPos ) in lcl_GetAreaLink() 621 nPos( nP ) in ScAreaLinkObj() 661 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in Modify_Impl() 713 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in refresh() 836 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in SC_IMPL_DUMMY_PROPERTY_LISTENER() 852 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getFilter() 1209 sal_uInt16 nPos = 0; in getResults() local [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | porlay.cxx | 1449 if( nPos < GetScriptChg( nX ) ) in NextScriptChg() 1466 if( nPos < GetScriptChg( nX ) ) in ScriptType() 1474 xub_StrLen SwScriptInfo::NextDirChg( const xub_StrLen nPos, in NextDirChg() argument 1481 if( nPos < GetDirChg( nX ) && in NextDirChg() 1494 if( nPos < GetDirChg( nX ) ) in DirType() 1626 if ( nHiddenStart > nPos ) in GetBoundsOfHiddenRange() 1628 else if ( nHiddenStart <= nPos && nPos < nHiddenEnd ) in GetBoundsOfHiddenRange() 1669 if ( nHiddenStart > nPos ) in GetBoundsOfHiddenRange() 1671 else if ( nHiddenStart <= nPos && nPos < nHiddenEnd ) in GetBoundsOfHiddenRange() 1717 if ( nPos < nChg ) in CompType() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | table3.cxx | 212 SCSIZE nPos; in SortReorder() local 213 for ( nPos = 0; nPos < nCount; nPos++ ) in SortReorder() 214 aTable[ppInfo[nPos]->nOrg - nStart] = ppInfo[nPos]; in SortReorder() 217 for ( nPos = 0; nPos < nCount; nPos++, nDest++ ) in SortReorder() 939 long nPos = -1; in ValidQuery() local 1240 if (nPos == -1) in ValidQuery() 1242 nPos++; in ValidQuery() 1243 pPasst[nPos] = bOk; in ValidQuery() 1250 pPasst[nPos] = pPasst[nPos] && bOk; in ValidQuery() 1251 pTest[nPos] = pTest[nPos] && bTestEqual; in ValidQuery() [all …]
|
/trunk/main/sw/source/core/crsr/ |
H A D | swcrsr.cxx | 111 { ::SetProgressState( bBack ? nActPos - nPos : nPos, pDSh ); } in NextPos() 115 sal_uLong nPos; in NextPos() local 117 nPos = rPos.nNode.GetIndex(); in NextPos() 119 nPos = rPos.nContent.GetIndex(); in NextPos() 120 ::SetProgressState( bBack ? nActPos - nPos : nPos, pDSh ); in NextPos() 1634 rIdx = nPos; in DoSetBidiLevelLeftRight() 1645 ( nPos ? nPos - 1 : 0 ) : in DoSetBidiLevelLeftRight() 1798 if( nPos && nPos < ((SwTxtNode&)rNode).GetTxt().Len() ) in DoSetBidiLevelUpDown() 2210 sal_uInt16 nPos; in MakeBoxSels() local 2241 aTmp.Remove( nPos ); in MakeBoxSels() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docnum.cxx | 618 xub_StrLen nPos = 0; in lcl_FindOutlineNum() local 620 if( STRING_NOTFOUND == nPos ) in lcl_FindOutlineNum() 645 sName.Erase( 0, nPos ); in lcl_FindOutlineNum() 646 nPos = 0; in lcl_FindOutlineNum() 662 nPos = 0; in lcl_FindOutlineNum() 664 for( ; nPos < rOutlNds.Count(); ++nPos ) in lcl_FindOutlineNum() 707 nPos = USHRT_MAX; in lcl_FindOutlineNum() 708 return nPos; in lcl_FindOutlineNum() 739 sal_uInt16 nPos = 0; in GotoOutline() local 746 nPos = 0; in GotoOutline() [all …]
|
/trunk/main/cui/source/dialogs/ |
H A D | multifil.cxx | 133 sal_uInt16 nPos = aPathLB.InsertEntry( sInsFile, LISTBOX_APPEND ); in IMPL_LINK() local 134 aPathLB.SetEntryData( nPos, (void*) new String( sInsFile ) ); in IMPL_LINK() 145 sal_uInt16 nPos = aPathLB.GetSelectEntryPos(); in IMPL_LINK() local 146 aPathLB.RemoveEntry( nPos ); in IMPL_LINK() 153 if ( nPos > nCnt ) in IMPL_LINK() 154 nPos = nCnt; in IMPL_LINK() 155 aPathLB.SelectEntryPos( nPos ); in IMPL_LINK()
|
/trunk/main/sc/source/ui/inc/ |
H A D | csvsplits.hxx | 59 bool Insert( sal_Int32 nPos ); 62 bool Remove( sal_Int32 nPos ); 69 bool HasSplit( sal_Int32 nPos ) const; 75 sal_uInt32 GetIndex( sal_Int32 nPos ) const; 77 sal_uInt32 LowerBound( sal_Int32 nPos ) const; 79 sal_uInt32 UpperBound( sal_Int32 nPos ) const;
|
/trunk/main/sw/source/core/txtnode/ |
H A D | thints.cxx | 124 TxtAttrContains( const xub_StrLen nPos ) : m_nPos( nPos ) { } in TxtAttrContains() 1708 for ( sal_uInt16 nPos = 0; m_pSwpHints && nPos < m_pSwpHints->Count(); nPos++ ) in DeleteAttributes() local 2615 for( sal_uInt16 nPos = 0; nPos < nSize; ++nPos ) in CalcFlags() local 2651 for( sal_uInt16 nPos = 0; nPos < nSize; ++nPos ) in CalcHiddenParaField() local 2653 pTxtHt = (*this)[ nPos ]; in CalcHiddenParaField() 3168 SwTxtAttr *pHint = GetTextHint(nPos); in DeleteAtPos() 3171 SwpHintsArray::DeleteAtPos( nPos ); in DeleteAtPos() 3206 if( USHRT_MAX != nPos ) in Delete() 3207 DeleteAtPos( nPos ); in Delete() 3214 sal_uInt16 nPos = 0; in ClearSwpHintsArr() local [all …]
|
/trunk/main/sw/source/ui/misc/ |
H A D | num.cxx | 349 sal_uInt16 nPos = 1; // zentriert in InitControls() local 351 nPos = 0; in InitControls() 353 nPos = 2; in InitControls() 354 aAlignLB.SelectEntryPos(nPos); in InitControls() 370 sal_uInt16 nPos = 0; // LISTTAB in InitControls() local 373 nPos = 1; in InitControls() 377 nPos = 2; in InitControls() 687 if(nPos == 0) in IMPL_LINK() 689 else if(nPos == 2) in IMPL_LINK() 862 if ( nPos == 1 ) in IMPL_LINK() [all …]
|
/trunk/main/svtools/inc/svtools/ |
H A D | treelist.hxx | 244 SvListView* GetView(sal_uLong nPos) const {return (SvListView*)aViewList.GetObject(nPos);} in GetView() 246 SvListEntry* pEntry2=0, sal_uLong nPos=0 ); 261 sal_uLong Insert( SvListEntry* pEntry,SvListEntry* pPar,sal_uLong nPos=LIST_APPEND); 282 SvListEntry* GetEntry( SvListEntry* pParent, sal_uLong nPos ) const; 355 SvListEntry* pEntry2, sal_uLong nPos ); 395 sal_uLong nPos ); 449 inline SvListEntry* SvTreeList::GetEntry( SvListEntry* pParent, sal_uLong nPos ) const in GetEntry() 454 pRet = (SvListEntry*)(pParent->pChilds->GetObject(nPos)); in GetEntry() 498 Type GetEntry( SvListEntry* pParent, sal_uLong nPos ) const \ 499 { return (Type)SvTreeList::GetEntry(pParent,nPos); } \
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | webdavcontentcaps.cxx | 624 sal_Int32 nPos = aCmdInfo.getLength(); in getCommands() local 627 aCmdInfo.realloc( nPos + nMoreCmds ); in getCommands() 637 aCmdInfo[ nPos ] = in getCommands() 642 nPos++; in getCommands() 643 aCmdInfo[ nPos ] = in getCommands() 649 nPos++; in getCommands() 658 aCmdInfo[ nPos ] = in getCommands() 663 nPos++; in getCommands() 664 aCmdInfo[ nPos ] = in getCommands() 669 nPos++; in getCommands()
|
/trunk/main/filter/source/graphicfilter/itiff/ |
H A D | ccidecom.cxx | 901 sal_uInt16 nPos,nLo; in CountBits() local 908 nPos=nBitPos; in CountBits() 910 if (nPos>=nDataSizeBits) { in CountBits() 911 nPos=nDataSizeBits; in CountBits() 914 nData=pData[nPos>>3]; in CountBits() 915 nLo=nPos & 7; in CountBits() 916 if ( nLo==0 && nData==nBlackOrWhite) nPos+=8; in CountBits() 919 nPos++; in CountBits() 922 if (nPos<=nBitPos) return 0; in CountBits() 923 else return nPos-nBitPos; in CountBits()
|
/trunk/main/reportdesign/source/ui/inspection/ |
H A D | metadata.cxx | 59 sal_uInt16 nPos; member 78 ,nPos(nP) in OPropertyInfoImpl() 98 String( ModuleRes( RID_STR_##uinameres ) ), nPos++, HID_RPT_PROP_##helpid, flags ) 126 sal_uInt16 nPos = 1; in getPropertyInfo() local 323 size_t nPos = 0; in getExcludeProperties() local 324 …for (; nPos < sizeof(pExcludeProperties)/sizeof(pExcludeProperties[0]) && pExcludeProperties[nPos]… in getExcludeProperties() 326 if ( nPos == sizeof(pExcludeProperties)/sizeof(pExcludeProperties[0]) ) in getExcludeProperties()
|
/trunk/main/sysui/source/win32/misc/ |
H A D | WinImplHelper.cxx | 185 sal_Int32 nPos; in ListboxDeleteItem() local 186 aPosition >>= nPos; in ListboxDeleteItem() 188 LRESULT lRet = SendMessage( hwnd, CB_DELETESTRING, nPos, 0 ); in ListboxDeleteItem() 237 sal_Int32 nPos; in ListboxSetSelectedItem() local 238 aPosition >>= nPos; in ListboxSetSelectedItem() 240 if ( nPos < -1 ) in ListboxSetSelectedItem() 246 LRESULT lRet = SendMessageW( hwnd, CB_SETCURSEL, nPos, 0 ); in ListboxSetSelectedItem() 248 if ( (CB_ERR == lRet) && (-1 != nPos) ) in ListboxSetSelectedItem()
|
/trunk/main/formula/source/ui/dlg/ |
H A D | formula.cxx | 561 if ( nOldTokPos <= nPos && nPos < nTokPos ) in GetFunctionPos() 761 for (sal_Int32 nPos=0; nPos<nLen; nPos++) in UpdateTokenArray() local 809 pFuncPage->SetFunction(nPos); in FillListboxes() 1402 xub_StrLen nPos=(xub_StrLen)aSel.Min()-1; in IMPL_LINK() local 1415 nPos=GetFunctionPos(nPos); in IMPL_LINK() 1417 if(nPos<aSel.Min()-1) in IMPL_LINK() 1454 xub_StrLen nPos=(xub_StrLen)aSel.Min(); in IMPL_LINK() local 1456 nFStart=GetFunctionPos(nPos - 1); in IMPL_LINK() 1458 if(nFStart<nPos) in IMPL_LINK() 1468 xub_StrLen n=nPos; in IMPL_LINK() [all …]
|
/trunk/main/sfx2/inc/ |
H A D | msgnodei.hxx | 117 SfxMsgReceiver* GetObject( sal_uInt16 nPos ); 118 void Remove( sal_uInt16 nPos ); 140 …SfxMsgAttachFile* GetReceiver(sal_uIntPtr nPos) { return (SfxMsgAttachFile*)List::GetObject(nPos);… in GetReceiver() argument 170 SfxMsgAttachFile* GetObject( sal_uInt16 nPos ); 171 void Remove( sal_uInt16 nPos ); 205 virtual String GetValueTextByPos( sal_uInt16 nPos ) const;
|
/trunk/main/svx/source/dialog/ |
H A D | txencbox.cxx | 184 const String& rEntry, sal_uInt16 nPos ) in InsertTextEncoding() argument 186 sal_uInt16 nAt = InsertEntry( rEntry, nPos ); in InsertTextEncoding() 192 void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uInt16 nPos ) in InsertTextEncoding() argument 196 InsertTextEncoding( nEnc, rEntry, nPos ); in InsertTextEncoding() 221 sal_uInt16 nPos = GetSelectEntryPos(); in GetSelectTextEncoding() local 223 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in GetSelectTextEncoding() 224 return rtl_TextEncoding( (sal_uIntPtr)GetEntryData(nPos) ); in GetSelectTextEncoding()
|
/trunk/main/framework/inc/uielement/ |
H A D | toolbarmerger.hxx | 69 sal_uInt16 nPos; member 95 sal_uInt16 nPos, 105 sal_uInt16 nPos, 115 sal_uInt16 nPos, 124 sal_uInt16 nPos, 131 sal_uInt16 nPos, 145 sal_uInt16 nPos,
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | ButtonOperator.java | 93 int nPos = -1; in getButtonIndex() local 94 for ( int i=0; ( i < m_aButtons.size() ) && ( -1 == nPos ); ++i ) in getButtonIndex() 97 nPos = i; in getButtonIndex() 99 return nPos; in getButtonIndex() 124 int nPos = getButtonIndex( xButtonModel ); in revokeButton() local 125 if ( -1 < nPos ) in revokeButton() 127 m_aButtons.remove( nPos ); in revokeButton()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | frmpage.cxx | 1220 nOldV = pVMap[nPos].nAlign; in InitPos() 1223 if (nPos != LISTBOX_ENTRY_NOTFOUND) in InitPos() 1230 nOldH = pHMap[nPos].nAlign; in InitPos() 1233 if (nPos != LISTBOX_ENTRY_NOTFOUND) in InitPos() 1585 if (nPos != LISTBOX_ENTRY_NOTFOUND) in GetRelation() 2146 nPos = aVerticalDLB.GetSelectEntryPos(); in UpdateExample() 2506 bEnableMirrorRB = nPos != 0; in ActivatePage() 2508 switch (nPos) in ActivatePage() 3178 for( nPos = aTextFlowLB.GetEntryCount(); nPos; ) in Reset() 3181 aTextFlowLB.SelectEntryPos( nPos ); in Reset() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdattr.cxx | 1048 return ImpGetResStr(STR_ItemValCAPTIONTYPE1+nPos); in GetValueTextByPos() 1075 return ImpGetResStr(STR_ItemValCAPTIONESCHORI+nPos); in GetValueTextByPos() 1107 return ImpGetResStr(STR_ItemValFITTOSIZENONE+nPos); in GetValueTextByPos() 1165 return ImpGetResStr(STR_ItemValTEXTVADJTOP+nPos); in GetValueTextByPos() 1215 return ImpGetResStr(STR_ItemValTEXTHADJLEFT+nPos); in GetValueTextByPos() 1265 return ImpGetResStr(STR_ItemValTEXTANI_NONE+nPos); in GetValueTextByPos() 1314 return ImpGetResStr(STR_ItemValTEXTANI_LEFT+nPos); in GetValueTextByPos() 1894 return ImpGetResStr(STR_ItemValMEASURE_STD+nPos); in GetValueTextByPos() 2043 if((FieldUnit)nPos == FUNIT_NONE) in GetValueTextByPos() 2101 return ImpGetResStr(STR_ItemValCIRC_FULL+nPos); in GetValueTextByPos() [all …]
|
/trunk/main/vcl/source/control/ |
H A D | field2.cxx | 1102 XubString PatternBox::GetString( sal_uInt16 nPos ) const in GetString() 1148 sal_uInt16 nPos = rStr.Search( _rLookupMonthName ); in ImplCutMonthName() local 1149 if ( nPos != STRING_NOTFOUND ) in ImplCutMonthName() 1549 xub_StrLen nPos = 0; in ImplDateSpinArea() local 1553 nPos = aText.Search( aDateSep, nPos ); in ImplDateSpinArea() 1560 nPos++; in ImplDateSpinArea() 2355 Date DateBox::GetDate( sal_uInt16 nPos ) const in GetDate() 2736 nPos = nPos1 < nPos2 ? nPos1 : nPos2; in ImplTimeSpinArea() 2743 nPos++; in ImplTimeSpinArea() 2749 if ( nPos == STRING_NOTFOUND || nPos >= (xub_StrLen)aSelection.Max() ) in ImplTimeSpinArea() [all …]
|