/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_AxisPositions.cxx | 235 sal_uInt16 nPos = m_aLB_CrossesAt.GetSelectEntryPos(); in FillItemSet() local 237 if( 2==nPos ) in FillItemSet() 306 if(nPos==0) in Reset() 310 nPos = 2; in Reset() 313 nPos--; in Reset() 315 if( nPos < m_aLB_CrossesAt.GetEntryCount() ) in Reset() 316 m_aLB_CrossesAt.SelectEntryPos( nPos ); in Reset() 345 if( nPos < m_aLB_PlaceLabels.GetEntryCount() ) in Reset() 346 m_aLB_PlaceLabels.SelectEntryPos( nPos ); in Reset() 368 if( nPos < m_aLB_PlaceTicks.GetEntryCount() ) in Reset() [all …]
|
/trunk/main/bridges/source/cpp_uno/mingw_intel/ |
H A D | uno2cpp.cxx | 228 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 230 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 237 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 260 *(void **)pCppStack = pCppArgs[nPos] = malloc( pParamTypeDescr->nSize ), in cpp_call() 262 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 265 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 275 *(void **)pCppStack = pCppArgs[nPos] = malloc( pParamTypeDescr->nSize ), in cpp_call() 277 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 279 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 282 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() [all …]
|
/trunk/main/sw/source/core/bastyp/ |
H A D | tabcol.cxx | 59 ASSERT( aEntry1.nPos == aEntry2.nPos && in SwTabCols() 98 if ( aEntry1.nPos != aEntry2.nPos || aEntry1.bHidden != aEntry2.bHidden ) in operator ==() 105 void SwTabCols::Insert( long nValue, long nMin, long nMax, sal_Bool bValue, sal_uInt16 nPos ) in Insert() argument 108 aEntry.nPos = nValue; in Insert() 112 aData.insert( aData.begin() + nPos, aEntry ); in Insert() 115 void SwTabCols::Insert( long nValue, sal_Bool bValue, sal_uInt16 nPos ) in Insert() argument 118 aEntry.nPos = nValue; in Insert() 122 aData.insert( aData.begin() + nPos, aEntry ); in Insert() 133 void SwTabCols::Remove( sal_uInt16 nPos, sal_uInt16 nAnz ) in Remove() argument 135 SwTabColsEntries::iterator aStart = aData.begin() + nPos; in Remove()
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | inputwin.cxx | 230 sal_uInt16 nPos = 0; in ShowWin() local 232 while( (nPos = rPos.Search( ':',nPos + 1 ) ) != STRING_NOTFOUND ) in ShowWin() 233 nSrch = (short) nPos; in ShowWin() 587 sal_uInt16 nPos = aStr.Search( cClose ); in UpdateRange() local 589 ++nPos; in UpdateRange() 590 SetSelection( Selection( nPos, nPos )); in UpdateRange() 632 nPos = nPos + aBoxes.Len(); in UpdateRange() 639 nPos = (sal_uInt16)aSelection.Min(); in UpdateRange() 640 aActText.Insert( aTmp, nPos ); in UpdateRange() 641 nPos = nPos + aTmp.Len(); in UpdateRange() [all …]
|
/trunk/main/sw/source/ui/config/ |
H A D | optpage.cxx | 2015 switch (nPos) in FillItemSet() 2041 switch (nPos) in FillItemSet() 2067 switch (nPos) in FillItemSet() 2084 nPos = 0; in FillItemSet() 2218 sal_uInt16 nPos = 0; in Reset() local 2277 switch( nPos ) in IMPL_LINK() 2296 nPos = 0; in IMPL_LINK() 2331 if( nPos ) in IMPL_LINK() 2372 nPos = 0; in IMPL_LINK() 2381 if( nPos && nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | frmdirlbox.cxx | 62 …onListBox::InsertEntryValue( const String& rString, SvxFrameDirection eDirection, sal_uInt16 nPos ) in InsertEntryValue() argument 64 sal_uInt16 nRealPos = InsertEntry( rString, nPos ); in InsertEntryValue() 70 sal_uInt16 nPos = GetEntryPos( lclEnumToVoid( eDirection ) ); in RemoveEntryValue() local 71 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in RemoveEntryValue() 72 RemoveEntry( nPos ); in RemoveEntryValue() 77 sal_uInt16 nPos = GetEntryPos( lclEnumToVoid( eDirection ) ); in SelectEntryValue() local 78 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in SelectEntryValue() 81 SelectEntryPos( nPos ); in SelectEntryValue() 86 sal_uInt16 nPos = GetSelectEntryPos(); in GetSelectEntryValue() local 87 if( nPos == LISTBOX_ENTRY_NOTFOUND ) in GetSelectEntryValue() [all …]
|
/trunk/main/svx/source/unodialogs/textconversiondlgs/ |
H A D | chinese_dictionarydialog.cxx | 97 if(nPos<m_pPropertyTypeNameListBox->GetEntryCount()) in getPropertyTypeName() 235 SvLBoxEntry* pLBEntry = GetEntryOnPos( nPos ); in getEntryOnPos() 270 void DictionaryList::deleteEntryOnPos( sal_Int32 nPos ) in deleteEntryOnPos() argument 272 SvLBoxEntry* pLBEntry = GetEntryOnPos( nPos ); in deleteEntryOnPos() 273 DictionaryEntry* pEntry = getEntryOnPos( nPos ); in deleteEntryOnPos() 287 sal_uIntPtr nPos = LIST_APPEND; in deleteEntries() local 293 nPos = nN; in deleteEntries() 302 return nPos; in deleteEntries() 674 if( nPos<0 || nPos>=m_aLB_Property.GetEntryCount() ) in IMPL_LINK() 675 nPos=0; in IMPL_LINK() [all …]
|
/trunk/main/linguistic/source/ |
H A D | dlistimp.cxx | 364 if (STRING_NOTFOUND != nPos) in SearchForDictionaries() 365 aTmp1 = aTmp1.Copy( nPos + 1 ); in SearchForDictionaries() 399 sal_Int32 nPos = -1; in GetDicPos() local 407 return nPos; in GetDicPos() 498 if (nPos >= 0) in removeDictionary() 839 rToken = rText.Copy( nPos ); in lcl_GetToken() 841 rToken = rText.Copy( nPos, sal::static_int_cast< xub_StrLen >((sal_Int32) i - nPos) ); in lcl_GetToken() 863 xub_StrLen nPos = 0; in AddInternal() local 865 (nPos = lcl_GetToken( aToken, rNew, nPos, aDelim ))) in AddInternal() 903 if (STRING_NOTFOUND != nPos) in IsVers2OrNewer() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | ebbcontrols.cxx | 74 nPos = nPos + (rKey.GetCode() == KEY_DOWN ? 1 : -1); in PreNotify() 75 if (nPos < 0) in PreNotify() 76 nPos = 0; in PreNotify() 77 if (nPos >= GetEntryCount()) in PreNotify() 78 nPos = GetEntryCount() - 1; in PreNotify() 180 int nPos = GetSelectEntryPos(); in PreNotify() local 181 nPos = nPos + (rKey.GetCode() == KEY_DOWN ? 1 : -1); in PreNotify() 182 if (nPos < 0) in PreNotify() 183 nPos = 0; in PreNotify() 184 if (nPos >= GetEntryCount()) in PreNotify() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_netbsd_intel/ |
H A D | cpp2uno.cxx | 103 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 105 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp2uno_call() 111 pCppArgs[nPos] = pCppStack; in cpp2uno_call() 112 pUnoArgs[nPos] = pCppStack; in cpp2uno_call() 125 pCppArgs[nPos] = *(void **)pCppStack; in cpp2uno_call() 130 pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ); in cpp2uno_call() 131 pTempIndizes[nTempIndizes] = nPos; in cpp2uno_call() 141 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp2uno_call() 147 pUnoArgs[nPos] = *(void **)pCppStack; in cpp2uno_call() 470 for ( sal_Int32 nPos = 0; nPos < nAllMembers; ++nPos ) in get_vtable() local [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | documen6.cxx | 78 sal_Int32 nPos = 0; in HasStringWeakCharacters() local 81 sal_Int16 nType = xBreakIter->getScriptType( aText, nPos ); in HasStringWeakCharacters() 85 nPos = xBreakIter->endOfScript( aText, nPos, nType ); in HasStringWeakCharacters() 87 while ( nPos >= 0 && nPos < nLen ); in HasStringWeakCharacters() 106 sal_Int32 nPos = 0; in GetStringScriptType() local 109 sal_Int16 nType = xBreakIter->getScriptType( aText, nPos ); in GetStringScriptType() 123 nPos = xBreakIter->endOfScript( aText, nPos, nType ); in GetStringScriptType() 125 while ( nPos >= 0 && nPos < nLen ); in GetStringScriptType()
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessiblelist.cxx | 192 sal_Bool bVisible = ( nPos>=nTopEntry && nPos<( nTopEntry + m_nVisibleLineCount ) ); in notifyVisibleStates() 351 m_nCurSelectedPos = nPos; in UpdateFocus_Impl_Acc() 395 if ( nPos == LISTBOX_ENTRY_NOTFOUND ) in ProcessWindowEvent() 398 aNewValue <<= CreateChild(nPos); in ProcessWindowEvent() 468 sal_uInt16 nPos = m_nCurSelectedPos; in ProcessWindowEvent() local 473 aNewValue <<= CreateChild(nPos); in ProcessWindowEvent() 550 m_aAccessibleChildren.resize(nPos + 1); in CreateChild() 554 m_aAccessibleChildren[nPos] = xChild; in CreateChild() 558 xChild = m_aAccessibleChildren[nPos]; in CreateChild() 563 m_aAccessibleChildren[nPos] = xChild; in CreateChild() [all …]
|
/trunk/main/bridges/source/cpp_uno/cc50_solaris_sparc/ |
H A D | uno2cpp.cxx | 109 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 111 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 118 pCppArgs[ nPos ] = CPPU_CURRENT_NAMESPACE::adjustPointer( in cpp_call() 120 uno_copyAndConvertData( pCppArgs[nPos], pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 139 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 141 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 150 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 151 pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 154 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 160 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/trunk/main/sd/source/ui/view/ |
H A D | outlview.cxx | 97 sal_uInt16 nPos; member 484 if (nPos > 0) in GetPrevTitle() 486 while(nPos) in GetPrevTitle() 829 nPos++; in IMPL_LINK() 879 nPos++; in IMPL_LINK() 882 if(nPos >= 0) in IMPL_LINK() 899 nPos++; in IMPL_LINK() 902 if( nPos >= 0 ) in IMPL_LINK() 1053 nPos++; in IMPL_LINK() 1094 if (nPos == 0) in IMPL_LINK() [all …]
|
/trunk/main/sw/source/core/access/ |
H A D | accpara.cxx | 548 sal_Int32 nPos; in _InvalidateFocus() local 703 return (nPos >= 0) && (nPos < nLength); in IsValidChar() 709 return (nPos >= 0) && (nPos <= nLength); in IsValidPosition() 889 while( pStr[nPos] == sal_Unicode(' ') && nPos < rText.getLength()) in GetSentenceBoundary() 890 nPos++; in GetSentenceBoundary() 1006 if((nPos == rText.getLength()) && nPos > 0) in GetTextBoundary() 3355 sal_uInt16 nPos; member in SwHyperlinkIter_Impl 3369 nPos( 0 ) in SwHyperlinkIter_Impl() 3394 ++nPos; in next() 3658 nPos++; in getHyperLinkIndex() [all …]
|
/trunk/main/svx/source/xml/ |
H A D | xmleohlp.cxx | 243 if ( nPos == -1 ) in ImplGetStorageNames() 247 aURLNoPar = rURLStr.copy( 0, nPos ); in ImplGetStorageNames() 250 nPos++; in ImplGetStorageNames() 251 while( nPos >= 0 && nPos < rURLStr.getLength() ) in ImplGetStorageNames() 269 nPos = aURLNoPar.indexOf( ':' ); in ImplGetStorageNames() 270 if( -1 == nPos ) in ImplGetStorageNames() 281 sal_Int32 nPathStart = nPos + 1; in ImplGetStorageNames() 282 nPos = aURLNoPar.lastIndexOf( '/' ); in ImplGetStorageNames() 283 if( -1 == nPos ) in ImplGetStorageNames() 288 else if( nPos > nPathStart ) in ImplGetStorageNames() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | linksrc.cxx | 110 sal_uInt16 nPos; member in sfx2::SvLinkSource_EntryIter_Impl 115 { return nPos < aArr.Count() ? aArr[ nPos ] : 0; } in Curr() 122 : rOrigArr( rArr ), nPos( 0 ) in SvLinkSource_EntryIter_Impl() 133 return ( nPos < aArr.Count() && aArr[nPos] == pEntry && USHRT_MAX != rOrigArr.GetPos( pEntry ) ); in IsValidCurrValue() 139 if( nPos + 1 < aArr.Count() ) in Next() 141 ++nPos; in Next() 143 rOrigArr[ nPos ] == aArr[ nPos ] ) in Next() 144 pRet = aArr[ nPos ]; in Next() 149 pRet = aArr[ nPos ]; in Next() 153 ++nPos; in Next() [all …]
|
/trunk/main/sfx2/inc/sfx2/ |
H A D | controlwrapper.hxx | 540 nValue = static_cast< ValueT >( nPos ); in GetValueFromPos() 549 PosT nPos = mnNFPos; in GetPosFromValue() local 555 nPos = pEntry->mnPos; in GetPosFromValue() 558 nPos = static_cast< PosT >( nValue ); in GetPosFromValue() 559 return nPos; in GetPosFromValue() 640 sal_uInt16 nPos = this->GetPosFromValue( nValue ); in SetControlValue() local 641 if( nPos != this->GetNotFoundPos() ) in SetControlValue() 642 this->GetControl().SelectEntryPos( nPos ); in SetControlValue() 656 sal_uInt16 nPos = this->GetPosFromValue( nValue ); in SetControlValue() local 657 if( nPos != this->GetNotFoundPos() ) in SetControlValue() [all …]
|
/trunk/main/sw/source/ui/fldui/ |
H A D | fldvar.cxx | 119 sal_uInt16 nPos, nTypeId; in Reset() local 129 nPos = aTypeLB.InsertEntry(GetFldMgr().GetTypeStr(i)); in Reset() 130 aTypeLB.SetEntryData(nPos, reinterpret_cast<void*>(nTypeId)); in Reset() 142 aTypeLB.SetEntryData( nPos, reinterpret_cast< void* >( nTypeId ) ); in Reset() 330 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in IMPL_LINK() 778 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in FillFormatLB() 780 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in FillFormatLB() 790 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in FillFormatLB() 798 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in FillFormatLB() 805 aNumFormatLB.SetEntryData( nPos, (void *) ULONG_MAX ); in FillFormatLB() [all …]
|
/trunk/main/cpputools/source/unoexe/ |
H A D | unoexe.cxx | 630 sal_Int32 nPos = 0; variable 633 while (nPos < nCount) 637 rtl_getAppCommandArg(nPos, &arg.pData); 642 ++nPos; 649 readOption( &aUnoUrl, "u", &nPos, arg) || 657 if (readOption( &aRegistry, "ro", &nPos, arg)) 668 if (readOption( &aRegistry, "r", &nPos, arg)) 719 aParams.realloc( nCount - nPos ); 722 sal_Int32 nOffset = nPos; 723 for ( ; nPos < nCount; ++nPos ) [all …]
|
/trunk/main/bridges/source/cpp_uno/msvc_win64_x86-64/ |
H A D | cpp2uno.cxx | 105 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp2uno_call() local 107 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp2uno_call() 113 pCppArgs[nPos] = pUnoArgs[nPos] = pCallStack++; in cpp2uno_call() 120 pCppArgs[nPos] = pCppStack = *pCallStack++; in cpp2uno_call() 125 pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ); in cpp2uno_call() 126 pTempIndizes[nTempIndizes] = nPos; in cpp2uno_call() 132 uno_copyAndConvertData( pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp2uno_call() 135 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp2uno_call() 141 pUnoArgs[nPos] = pCppStack; in cpp2uno_call() 544 for (sal_Int32 nPos = 0; nPos < type->nMembers; ++nPos) { in addLocalFunctions() local [all …]
|
/trunk/main/cui/source/options/ |
H A D | optdict.cxx | 313 if ( nPos == LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK_INLINE_END() 315 nPos = 0; in IMPL_LINK_INLINE_END() 316 aAllDictsLB.SelectEntryPos( nPos ); in IMPL_LINK_INLINE_END() 319 if (nPos != LISTBOX_ENTRY_NOTFOUND) in IMPL_LINK_INLINE_END() 331 ShowWords_Impl( nPos ); in IMPL_LINK_INLINE_END() 389 sal_uInt16 nPos = USHRT_MAX; in GetLBInsertPos() local 405 nPos = j; in GetLBInsertPos() 407 return nPos; in GetLBInsertPos() 432 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 437 ShowWords_Impl( nPos ); in IMPL_LINK() [all …]
|
/trunk/main/sw/source/core/table/ |
H A D | swtable.cxx | 532 sal_uInt16 nPos = 0; in lcl_SortedTabColInsert() local 551 nPos = (sal_uInt16)nTmp; in lcl_SortedTabColInsert() 574 else if ( nPos < nCmp ) in lcl_SortedTabColInsert() 889 if( nPos && rTblBoxes[ nPos - 1 ]->getRowSpan() != 1 ) in lcl_ProcessBoxSet() 1267 ColChange aTmp( nPos, nPos ); in lcl_CalcNewWidths() 1475 xub_StrLen nPos = 0; in _GetBoxNum() local 1492 ++nPos; in _GetBoxNum() 1513 rStr.Erase( 0, nPos+1 ); in _GetBoxNum() 1995 sal_uInt16 nPos; in GetName() local 2608 sal_uLong nPos = ULONG_MAX; in IsValidNumTxtNd() local [all …]
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | dindexnode.cxx | 77 :nPagePos(nPos) in ONDXPage() 209 sal_uInt16 nPos = NODE_NOTFOUND; in Insert() local 210 while (++nPos < nCount && rNode.GetKey() > ((*this)[nPos]).GetKey()) ; in Insert() 213 bResult = Insert(nPos, rNode); in Insert() 307 if (nPos >= nMaxCount) in Insert() 322 ONDXNode& rInsertNode = (*this)[nPos]; in Insert() 1017 sal_uInt16 nPos = NODE_NOTFOUND; in SearchAndReplace() local 1025 (*pPage)[nPos].GetKey() = rReplace; in SearchAndReplace() 1034 return ppNodes[nPos]; in operator []() 1041 return ppNodes[nPos]; in operator []() [all …]
|
/trunk/main/svx/source/svdraw/ |
H A D | svdibrow.cxx | 386 if (nPos>=0 && (sal_uIntPtr)nPos<aList.Count()) { in GetCurrentPos() 387 nRet=(sal_uIntPtr)nPos; in GetCurrentPos() 407 BegChangeEntry(nPos); in DoubleClick() 467 long nPos=GetCurrentPos(); in ImpSaveWhich() local 471 nLastWhichOfs=nPos-nTop; in ImpSaveWhich() 497 long nPos=nNum-1; in ImpRestoreWhich() local 502 GoToRow(nPos); in ImpRestoreWhich() 1201 if (nPos==STRING_NOTFOUND) nPos=aNewText.Search(sal_Unicode(':')); in IMPL_LINK() 1202 if (nPos==STRING_NOTFOUND) nPos=aNewText.Search(sal_Unicode(' ')); in IMPL_LINK() 1203 …if (nPos==STRING_NOTFOUND) { nPos=aNewText.SearchAscii(".."); if (nPos!=STRING_NOTFOUND) nSepLen=2… in IMPL_LINK() [all …]
|