Home
last modified time | relevance | path

Searched refs:nIndex (Results 76 – 100 of 1876) sorted by relevance

12345678910>>...76

/trunk/main/dbaccess/source/ui/tabledesign/
H A DTableUndo.cxx239 long nIndex = pOwner->FirstSelectedRow(); in OTableEditorDelUndoAct() local
243 while( nIndex >= 0 ) in OTableEditorDelUndoAct()
249 nIndex = pOwner->NextSelectedRow(); in OTableEditorDelUndoAct()
445 long nIndex; in Undo() local
449 …for( nIndex = m_aInsKeys.FirstSelected(); nIndex != (long)SFX_ENDOFSELECTION; nIndex=m_aInsKeys.Ne… in Undo()
452 pRow = (*pRowList)[nIndex]; in Undo()
458 …for( nIndex = m_aDelKeys.FirstSelected(); nIndex != (long)SFX_ENDOFSELECTION; nIndex=m_aDelKeys.Ne… in Undo()
461 pRow = (*pRowList)[nIndex]; in Undo()
473 long nIndex; in Redo() local
477 …for( nIndex = m_aDelKeys.FirstSelected(); nIndex != (long)SFX_ENDOFSELECTION; nIndex=m_aDelKeys.Ne… in Redo()
[all …]
/trunk/main/svx/source/unogallery/
H A Dunogaltheme.cxx204 if( ( nIndex < 0 ) || ( nIndex >= getCount() ) ) in getByIndex()
251 const ::rtl::OUString& rURL, ::sal_Int32 nIndex ) in insertURLByIndex() argument
263 nIndex = ::std::max( ::std::min( nIndex, getCount() ), sal_Int32( 0 ) ); in insertURLByIndex()
296 nIndex = ::std::max( ::std::min( nIndex, getCount() ), sal_Int32( 0 ) ); in insertGraphicByIndex()
298 if( mpTheme->InsertGraphic( aGraphic, nIndex ) ) in insertGraphicByIndex()
299 nRet = nIndex; in insertGraphicByIndex()
324 nIndex = ::std::max( ::std::min( nIndex, getCount() ), sal_Int32( 0 ) ); in insertDrawingByIndex()
327 nRet = nIndex; in insertDrawingByIndex()
364 void SAL_CALL GalleryTheme::removeByIndex( sal_Int32 nIndex ) in removeByIndex() argument
371 if( ( nIndex < 0 ) || ( nIndex >= getCount() ) ) in removeByIndex()
[all …]
/trunk/main/sal/qa/rtl/ostring/
H A Drtl_OString2.cxx335 sal_Int32 nIndex = 0; in TEST_F() local
340 while ( nIndex >= 0 ); in TEST_F()
349 sal_Int32 nIndex = 0; in TEST_F() local
351 rtl::OString sToken = sTokenStr.getToken( 0, ';', nIndex ); in TEST_F()
356 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F()
363 sal_Int32 nIndex = 0; in TEST_F() local
373 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F()
380 sal_Int32 nIndex = 0; in TEST_F() local
390 ASSERT_TRUE(nIndex == -1) << "index should be negative"; in TEST_F()
397 sal_Int32 nIndex = 0; in TEST_F() local
[all …]
/trunk/main/setup_native/source/win32/customactions/reg4allmsdoc/
H A Dreg4allmsi.cxx134 DWORD nIndex = 0; in CheckExtensionInRegistry() local
311 int nIndex = 0; in registerForExtensions() local
312 while ( g_Extensions[nIndex] != 0 ) in registerForExtensions()
317 ++nIndex; in registerForExtensions()
324 int nIndex = nStart; in checkSomeExtensionInRegistry() local
327 while ( !bFound && ( g_Extensions[nIndex] != 0 ) && ( nIndex < nEnd ) ) in checkSomeExtensionInRegistry()
334 ++nIndex; in checkSomeExtensionInRegistry()
342 int nIndex = nStart; in registerSomeExtensions() local
344 while ( ( g_Extensions[nIndex] != 0 ) && ( nIndex < nEnd ) ) in registerSomeExtensions()
522 int nIndex = 0; in DeleteRegisteredExtensions() local
[all …]
/trunk/main/sw/source/core/layout/
H A Dlaycache.cxx119 sal_uInt32 nIndex, nOffset; in Read() local
131 aIo.GetStream() >> nIndex; in Read()
143 aIo.GetStream() >> nIndex in Read()
354 sal_uInt16 nIndex = 0; in CompareLayout() local
390 ++nIndex; in CompareLayout()
428 ++nIndex; in CompareLayout()
522 nIndex = 0; in SwLayHelper()
524 while( nIndex < pImpl->Count() && (*pImpl)[ nIndex ] < nNodeIndex ) in SwLayHelper()
525 ++nIndex; in SwLayHelper()
534 nIndex = USHRT_MAX; in SwLayHelper()
[all …]
/trunk/main/sw/source/ui/table/
H A Dtautofmt.cxx207 nIndex ( 0 ), in SwAutoFormatDlg()
260 nIndex = 0; in Init()
266 nIndex = 255; in Init()
274 nIndex = i; in Init()
277 aLbFormat.SelectEntryPos( 255 != nIndex ? (nDfltStylePos + nIndex) : 0 ); in Init()
304 if( 255 != nIndex ) in FillAutoFmtOfIndex()
440 nIndex--; in IMPL_LINK()
442 if( !nIndex ) in IMPL_LINK()
544 nIndex = 255; in IMPL_LINK()
554 if( nOldIdx != nIndex ) in IMPL_LINK()
[all …]
/trunk/main/sc/source/filter/excel/
H A Dfontbuff.cxx47 void LotusFontBuffer::Fill( const sal_uInt8 nIndex, SfxItemSet& rItemSet ) in Fill() argument
49 sal_uInt8 nIntIndex = nIndex & 0x07; in Fill()
62 if( nIndex & 0x08 ) in Fill()
68 if( nIndex & 0x10 ) in Fill()
75 switch( nIndex & 0x60 ) // Bit 5+6 in Fill()
90 void LotusFontBuffer::SetName( const sal_uInt16 nIndex, const String& rName ) in SetName() argument
93 if( nIndex < nSize ) in SetName()
95 register ENTRY* pEntry = pData + nIndex; in SetName()
107 if( nIndex < nSize ) in SetHeight()
115 if( nIndex < nSize ) in SetType()
[all …]
/trunk/main/tools/source/memtools/
H A Dmultisel.cxx392 if ( !aTotRange.IsInside(nIndex) ) in Select()
402 aSels.GetObject(nSubSelPos)->IsInside( nIndex ) ) in Select()
414 aSels.GetObject(nSubSelPos-1)->Max() = nIndex; in Select()
423 aSels.GetObject(nSubSelPos)->Min() = nIndex; in Select()
427 aSels.Insert( new Range( nIndex, nIndex ), nSubSelPos ); in Select()
565 aSels.GetObject(nSubSelPos)->IsInside(nIndex); in IsSelected()
589 aSels.GetObject(nSubSelPos)->Min() = nIndex; in Insert()
594 aSels.GetObject(nSubSelPos)->Max() == nIndex-1 ) in Insert()
624 void MultiSelection::Remove( long nIndex ) in Remove() argument
626 DBG(DbgOutf( "::Remove(%ld)\n", nIndex )); in Remove()
[all …]
H A Dtable.cxx178 sal_uIntPtr nIndex = ImplGetIndex( nKey ); in Remove() local
181 if ( nIndex == TABLE_ENTRY_NOTFOUND ) in Remove()
188 Container::Remove( nIndex ); in Remove()
191 return Container::Remove( nIndex ); in Remove()
202 if ( nIndex == TABLE_ENTRY_NOTFOUND ) in Replace()
216 if ( nIndex == TABLE_ENTRY_NOTFOUND ) in Get()
233 sal_uIntPtr nIndex = 0; in GetKey() local
236 while ( nIndex < nCount ) in GetKey()
242 nIndex++; in GetKey()
320 if ( nIndex == TABLE_ENTRY_NOTFOUND ) in Seek()
[all …]
/trunk/main/formula/source/core/api/
H A Dtoken.cxx331 while( nIndex < nLen ) in GetNextReference()
352 while( nIndex < nLen ) in GetNextColRowName()
363 while( nIndex < nRPN ) in GetNextReferenceRPN()
438 while( nIndex < nRPN ) in GetNextOpCodeRPN()
459 while( (nIndex < nLen) && (pCode[ nIndex ]->GetOpCode() == ocSpaces) ) in NextNoSpaces()
460 ++nIndex; in NextNoSpaces()
461 if( nIndex < nLen ) in NextNoSpaces()
477 if( pRPN && nIndex ) in PrevRPN()
495 nRPN = nIndex = 0; in DelRPN()
531 if( pCode && nIndex > 1 ) in PeekPrevNoSpaces()
[all …]
/trunk/main/idl/source/cmptools/
H A Dhash.cxx90 sal_uInt32 nIndex; in Test_Insert() local
97 nIndex = nHash % nMax; in Test_Insert()
103 while( (nMax != nLoop) && IsEntry( nIndex ) ) in Test_Insert()
105 if( COMPARE_EQUAL == Compare( pElement, nIndex ) ) in Test_Insert()
113 nIndex = (sal_uInt16)(nIndex + nHash + 7) % nMax; in Test_Insert()
242 if( nIndex >= GetMax() ) in IsEntry()
244 return pEntries[ nIndex ].HasId(); in IsEntry()
256 sal_uInt32 nIndex; in Insert() local
258 if( !pIndex ) pIndex = &nIndex; in Insert()
290 if( IsEntry( nIndex ) ) in Get()
[all …]
/trunk/main/svx/source/xoutdev/
H A Dxtable.cxx187 if(nIndex >= nObjectCount) in Get()
192 return maContent[nIndex]; in Get()
224 XPropertyEntry* pEntry = Get(nIndex); in GetUiBitmap()
246 if(static_cast< long >(LIST_APPEND) == nIndex || nIndex >= nObjectCount) in Insert()
265 if(nIndex < nObjectCount) in Replace()
267 pRetval = maContent[nIndex]; in Replace()
268 maContent[nIndex] = pEntry; in Replace()
275 XPropertyEntry* XPropertyList::Remove( long nIndex ) in Remove() argument
280 if(nIndex < nObjectCount) in Remove()
282 if(nIndex + 1 == nObjectCount) in Remove()
[all …]
/trunk/main/sd/source/ui/slidesorter/view/
H A DSlsInsertAnimator.cxx108 const sal_Int32 nIndex) const;
383 const sal_Int32 nIndex) const in GetInnerBoundingBox()
419 for (sal_Int32 nIndex=0; nIndex<nRunLength; ++nIndex) in UpdateOffsets() local
424 maEndOffset[nIndex] = nIndex < mnLocalInsertIndex in UpdateOffsets()
428 maEndOffset[nIndex].X() = 0; in UpdateOffsets()
430 maEndOffset[nIndex].Y() = 0; in UpdateOffsets()
445 for (sal_Int32 nIndex=0; nIndex<nRunLength; ++nIndex) in ResetOffsets() local
460 maEndOffset[nIndex] = Point(0,0); in ResetOffsets()
506 for (sal_Int32 nIndex=mnStartIndex; nIndex<=mnEndIndex; ++nIndex) in operator ()() local
514 maStartOffset[nIndex-mnStartIndex], in operator ()()
[all …]
H A DSlsLayouter.cxx161 sal_Int32 nIndex,
779 sal_Int32 nIndex, in ResolvePositionInGap() argument
786 nIndex = -1; in ResolvePositionInGap()
794 nIndex ++; in ResolvePositionInGap()
804 nIndex ++; in ResolvePositionInGap()
813 nIndex ++; in ResolvePositionInGap()
818 nIndex = -1; in ResolvePositionInGap()
824 nIndex = -1; in ResolvePositionInGap()
827 return nIndex; in ResolvePositionInGap()
1076 return nIndex; in GetIndex()
[all …]
/trunk/main/sal/qa/rtl/oustring/
H A Drtl_ustr.cxx270 ASSERT_TRUE(nIndex == 0) << "index is wrong."; in TEST_F()
273 ASSERT_TRUE(nIndex == 1) << "index is wrong."; in TEST_F()
276 ASSERT_TRUE(nIndex == 2) << "index is wrong."; in TEST_F()
279 ASSERT_TRUE(nIndex == 3) << "index is wrong."; in TEST_F()
287 ASSERT_TRUE(nIndex == -1) << "index is wrong."; in TEST_F()
306 ASSERT_TRUE(nIndex == 22) << "index is wrong."; in TEST_F()
350 ASSERT_TRUE(nIndex == 0) << "index is wrong."; in TEST_F()
354 ASSERT_TRUE(nIndex == 5) << "index is wrong."; in TEST_F()
358 ASSERT_TRUE(nIndex == 9) << "index is wrong."; in TEST_F()
362 ASSERT_TRUE(nIndex ==9) << "index is wrong."; in TEST_F()
[all …]
/trunk/main/sw/source/core/access/
H A Daccpara.cxx732 for(int nIndex = 0; nIndex<nSize; nIndex++ ) in GetTOXSortTabBase() local
1818 sal_Int32 nIndex, in getCharacterAttributes() argument
2770 if ( nIndex > 0 ) in getIndexAtPoint()
2970 nIndex = min( nIndex, preBound.startPos ) - 1; in getTextBeforeIndex()
2975 if (nIndex>=0) in getTextBeforeIndex()
2988 nIndex = min( nIndex, aBound.startPos ) - 1; in getTextBeforeIndex()
2989 if( nIndex >= 0 ) in getTextBeforeIndex()
3031 nIndex = max( sal_Int32(nIndex+1), aBound.endPos ); in getTextBehindIndex()
3147 setSelection( nIndex, nIndex ); in pasteText()
3161 return replaceText( nIndex, nIndex, sText ); in insertText()
[all …]
/trunk/main/basegfx/test/
H A Dbasegfxtools.cxx73 std::ptrdiff_t nIndex; in TEST_F() local
75 tie(nIndex,fAlpha) = maKeyStops.lerp(-1.0); in TEST_F()
76 ASSERT_TRUE(nIndex==0 && fAlpha==0.0) << "-1.0"; in TEST_F()
78 tie(nIndex,fAlpha) = maKeyStops.lerp(0.1); in TEST_F()
79 ASSERT_TRUE(nIndex==0 && fAlpha==0.0) << "0.1"; in TEST_F()
81 tie(nIndex,fAlpha) = maKeyStops.lerp(0.3); in TEST_F()
84 tie(nIndex,fAlpha) = maKeyStops.lerp(0.5); in TEST_F()
87 tie(nIndex,fAlpha) = maKeyStops.lerp(0.51); in TEST_F()
90 tie(nIndex,fAlpha) = maKeyStops.lerp(0.9); in TEST_F()
93 tie(nIndex,fAlpha) = maKeyStops.lerp(1.0); in TEST_F()
[all …]
/trunk/main/xmloff/source/style/
H A Dxmlimppr.cxx158 sal_Int32 nIndex = nStartIdx - 1; in importXML() local
171 nPropType, nIndex ); in importXML()
173 if( nIndex > -1 && nIndex < nEndIdx ) in importXML()
177 nFlags = maPropMapper->GetEntryFlags( nIndex ); in importXML()
181 nIndex = -1; in importXML()
187 XMLPropertyState aNewProperty( nIndex ); in importXML()
203 aNewProperty.mnIndex = nIndex; in importXML()
280 if( -1 == nIndex ) in importXML()
297 if( -1 == nIndex ) in importXML()
302 if( nIndex != -1 && nIndex >= nStartIdx && nIndex < nEndIdx) in importXML()
[all …]
/trunk/main/sal/osl/unx/
H A Dfile_url.cxx145 sal_Int32 nIndex; in osl_getSystemPathFromFileURL() local
177 nIndex = 0; in osl_getSystemPathFromFileURL()
186 nOffset += nIndex; in osl_getSystemPathFromFileURL()
193 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL()
211 nIndex = 0; in osl_getSystemPathFromFileURL()
228 nIndex = 7; in osl_getSystemPathFromFileURL()
235 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL()
247 nIndex += 9; in osl_getSystemPathFromFileURL()
253 if( nIndex ) in osl_getSystemPathFromFileURL()
302 sal_Int32 nIndex; in osl_getFileURLFromSystemPath() local
[all …]
/trunk/main/oox/source/drawingml/
H A Dcustomshapeproperties.cxx58 sal_uInt32 nIndex = 0; in SetCustomShapeGuideValue() local
59 for( ; nIndex < rGuideList.size(); nIndex++ ) in SetCustomShapeGuideValue()
64 if ( nIndex == rGuideList.size() ) in SetCustomShapeGuideValue()
73 sal_Int32 nIndex = 0; in GetCustomShapeGuideValue() local
74 for( ; nIndex < static_cast< sal_Int32 >( rGuideList.size() ); nIndex++ ) in GetCustomShapeGuideValue()
80 nIndex = -1; in GetCustomShapeGuideValue()
81 return nIndex; in GetCustomShapeGuideValue()
319 if ( nIndex >= 0 ) in pushToPropSet()
320 aHandle[ PROP_RefX ] <<= nIndex; in pushToPropSet()
325 if ( nIndex >= 0 ) in pushToPropSet()
[all …]
/trunk/main/comphelper/source/eventattachermgr/
H A Deventattachermgr.cxx521 sal_Int32 nIndex, in registerScriptEvent() argument
574 sal_Int32 nIndex, in registerScriptEvents() argument
585 detachAll_Impl( this, nIndex, aList ); in registerScriptEvents()
592 attachAll_Impl( this, nIndex, aList ); in registerScriptEvents()
598 sal_Int32 nIndex, in revokeScriptEvent() argument
610 detachAll_Impl( this, nIndex, aList ); in revokeScriptEvent()
681 if( nIndex < 0 ) in insertEntry()
689 aIndex.resize(nIndex+1); in insertEntry()
737 if( nIndex < 0 || !xObject.is() ) in attach()
745 insertEntry( nIndex ); in attach()
[all …]
/trunk/main/oox/inc/oox/helper/
H A Dcontainerhelper.hxx184 sal_Int32 nIndex,
265 getVectorElement( const VectorType& rVector, sal_Int32 nIndex );
271 getVectorElementAccess( VectorType& rVector, sal_Int32 nIndex );
351 …return ((0 <= nIndex) && (static_cast< size_t >( nIndex ) < rVector.size())) ? &rVector[ static_ca… in getVectorElement()
355 …rType::value_type* ContainerHelper::getVectorElementAccess( VectorType& rVector, sal_Int32 nIndex ) in getVectorElementAccess() argument
357 …return ((0 <= nIndex) && (static_cast< size_t >( nIndex ) < rVector.size())) ? &rVector[ static_ca… in getVectorElementAccess()
363 …return ((0 <= nIndex) && (static_cast< size_t >( nIndex ) < rVector.size())) ? rVector[ static_cas… in getVectorElement()
369 …return ((0 <= nIndex) && (static_cast< size_t >( nIndex ) < rVector.size())) ? rVector[ static_cas… in getVectorElementAccess()
416 sal_Int32 nIndex = 0; in mapToSequence() local
417 …ename MapType::const_iterator aIt = rMap.begin(), aEnd = rMap.end(); aIt != aEnd; ++aIt, ++nIndex ) in mapToSequence()
[all …]
/trunk/main/comphelper/source/officeinstdir/
H A Dofficeinstallationdirectories.cxx157 if ( nIndex != -1 ) in makeRelocatableURL()
160 URL.replaceAt( nIndex, in makeRelocatableURL()
167 if ( nIndex != -1 ) in makeRelocatableURL()
170 URL.replaceAt( nIndex, in makeRelocatableURL()
177 if ( nIndex != -1 ) in makeRelocatableURL()
180 URL.replaceAt( nIndex, in makeRelocatableURL()
199 if ( nIndex != -1 ) in makeAbsoluteURL()
204 URL.replaceAt( nIndex, in makeAbsoluteURL()
211 if ( nIndex != -1 ) in makeAbsoluteURL()
216 URL.replaceAt( nIndex, in makeAbsoluteURL()
[all …]
/trunk/main/accessibility/source/standard/
H A Dvclxaccessibletextcomponent.cxx166 return setSelection( nIndex, nIndex ); in setCaretPosition()
175 return OCommonAccessibleText::getCharacter( nIndex ); in getCharacter()
187 if ( !implIsValidIndex( nIndex, sText.getLength() ) ) in getCharacterAttributes()
260 if ( !implIsValidIndex( nIndex, implGetText().getLength() ) ) in getCharacterBounds()
266 aRect = AWTRectangle( pControl->GetCharacterBounds( nIndex ) ); in getCharacterBounds()
286 sal_Int32 nIndex = -1; in getIndexAtPoint() local
289 nIndex = pControl->GetIndexForPoint( VCLPoint( aPoint ) ); in getIndexAtPoint()
291 return nIndex; in getIndexAtPoint()
357 return OCommonAccessibleText::getTextAtIndex( nIndex, aTextType ); in getTextAtIndex()
366 return OCommonAccessibleText::getTextBeforeIndex( nIndex, aTextType ); in getTextBeforeIndex()
[all …]
/trunk/main/basegfx/source/polygon/
H A Db2dpolygontools.cxx114 if(nIndex) in getIndexOfPredecessor()
116 return nIndex - 1L; in getIndexOfPredecessor()
124 return nIndex; in getIndexOfPredecessor()
134 return nIndex + 1L; in getIndexOfSuccessor()
142 return nIndex; in getIndexOfSuccessor()
641 sal_uInt32 nIndex(0L); in getPositionAbsolute() local
679 nIndex = nEdgeCount; in getPositionAbsolute()
3668 if(nIndex >= nCount) in getTangentEnteringPoint()
3676 … sal_uInt32 nPrev(bClosed ? (nIndex + nCount - 1) % nCount : nIndex ? nIndex - 1 : nIndex); in getTangentEnteringPoint()
3678 if(nPrev == nIndex) in getTangentEnteringPoint()
[all …]

Completed in 216 milliseconds

12345678910>>...76