/trunk/main/svtools/source/graphic/ |
H A D | provider.cxx | 179 sal_Int32 nIndex = 0; in implLoadMemory() local 183 sal_Int64 nGraphicAddress = rResourceURL.getToken( 0, '/', nIndex ).toInt64(); in implLoadMemory() 202 sal_Int32 nIndex = 0; in implLoadRepositoryImage() local 206 String sPathName( rResourceURL.copy( nIndex ) ); in implLoadRepositoryImage() 223 sal_Int32 nIndex = 0; in implLoadStandardImage() local 227 rtl::OUString sImageName( rResourceURL.copy( nIndex ) ); in implLoadStandardImage() 287 sal_Int32 nIndex = 0; in implLoadResource() local 289 if( ( 0 == rResourceURL.getToken( 0, '/', nIndex ).compareToAscii( "private:resource" ) ) ) in implLoadResource() 297 const ::rtl::OUString aResourceType( rResourceURL.getToken( 0, '/', nIndex ) ); in implLoadResource() 298 const ResId aResId( rResourceURL.getToken( 0, '/', nIndex ).toInt32(), *pResMgr ); in implLoadResource() [all …]
|
/trunk/main/tools/bootstrp/addexes/ |
H A D | replace.cxx | 59 sal_uIntPtr nIndex; in main() local 62 nIndex = aUpperText.Search( aSearch.GetBuffer(), 0); in main() 63 while ( nIndex != STRING_NOTFOUND ) in main() 65 aText.Replace( nIndex, aSearch.Len(), aReplace.GetBuffer()); in main() 66 aUpperText.Replace( nIndex, aSearch.Len(), aReplace.GetBuffer()); in main() 67 nIndex = aUpperText.Search( aSearch.GetBuffer(), nIndex + aReplace.Len()); in main()
|
/trunk/main/ooxml/source/framework/OOXMLViewer/src/org/apache/openoffice/ooxml/viewer/tokenview/ |
H A D | RunRange.java | 51 for (int nIndex=nFirstIndex; nIndex<maRuns.size()-eTypeList.length; ++nIndex) in FindTokens() 55 if (maRuns.get(nIndex+nInnerIndex).GetTokenType() in FindTokens() 61 return nIndex; in FindTokens() 78 public Run<TokenType> Get (final int nIndex) in Get() argument 80 return maRuns.get(nIndex); in Get()
|
/trunk/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsSelectionFunction.cxx | 738 GotoPage(nIndex + nOffset); in GotoNextPage() 750 if (nIndex >= nPageCount) in GotoPage() 751 nIndex = nPageCount - 1; in GotoPage() 752 if (nIndex < 0) in GotoPage() 753 nIndex = 0; in GotoPage() 1550 sal_uInt16 nIndex (nAnchorIndex); in RangeSelect() local 1553 rSelector.SelectPage(nIndex); in RangeSelect() 1554 if (nIndex == nOtherIndex) in RangeSelect() 1556 nIndex = nIndex + nStep; in RangeSelect() 1812 for (sal_Int32 nIndex=0; nIndex<nPageCount; ++nIndex) in UpdateSelection() local [all …]
|
/trunk/main/dbaccess/source/ui/querydesign/ |
H A D | ConnectionLineAccess.cxx | 118 sal_Int32 nIndex = -1; in getAccessibleIndexInParent() local 122 nIndex = m_pLine->GetParent()->GetTabWinMap()->size(); in getAccessibleIndexInParent() 126 for (; aIter != aEnd && (*aIter) != m_pLine; ++nIndex,++aIter) in getAccessibleIndexInParent() 128 nIndex = ( aIter != aEnd ) ? nIndex : -1; in getAccessibleIndexInParent() 130 return nIndex; in getAccessibleIndexInParent() 214 …AccessibleRelation SAL_CALL OConnectionLineAccess::getRelation( sal_Int32 nIndex ) throw (IndexOut… in getRelation() argument 217 if( nIndex < 0 || nIndex >= getRelationCount() ) in getRelation()
|
/trunk/main/accessibility/source/standard/ |
H A D | vclxaccessiblecheckbox.cxx | 202 sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsExc… in doAccessibleAction() argument 206 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in doAccessibleAction() 234 ::rtl::OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (… in getAccessibleActionDescription() argument 238 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in getAccessibleActionDescription() 249 …nding > VCLXAccessibleCheckBox::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutO… in getAccessibleActionKeyBinding() argument 253 if ( nIndex < 0 || nIndex >= getAccessibleActionCount() ) in getAccessibleActionKeyBinding()
|
/trunk/main/accessibility/source/extended/ |
H A D | AccessibleGridControlHeaderCell.cxx | 147 sal_Int32 nIndex = getAccessibleIndexInParent(); in implGetBoundingBox() local 150 aCellRect = m_aTable.calcHeaderCellRect(true, nIndex); in implGetBoundingBox() 152 aCellRect = m_aTable.calcHeaderCellRect(false, nIndex); in implGetBoundingBox() 160 sal_Int32 nIndex = getAccessibleIndexInParent(); in implGetBoundingBoxOnScreen() local 163 aCellRect = m_aTable.calcHeaderCellRect(true, nIndex); in implGetBoundingBoxOnScreen() 165 aCellRect = m_aTable.calcHeaderCellRect(false, nIndex); in implGetBoundingBoxOnScreen() 174 sal_Int32 nIndex = m_nColumnRowId; in getAccessibleIndexInParent() local 175 return nIndex; in getAccessibleIndexInParent()
|
/trunk/main/filter/source/graphicfilter/icgm/ |
H A D | class5.cxx | 321 sal_uInt32 nIndex; in ImplDoClass5() local 331 for ( nIndex = nColorStartIndex; nIndex <= nMaxColorIndex; nIndex++ ) in ImplDoClass5() 333 pElement->aLatestColorTable[ nIndex ] = ImplGetBitmapColor( sal_True ); in ImplDoClass5() 337 for ( nIndex = nColorStartIndex; nIndex <= nMaxColorIndex; nIndex++ ) in ImplDoClass5() 339 if ( !pElement->aColorTableEntryIs[ nIndex ] ) in ImplDoClass5() 341 pElement->aColorTableEntryIs[ nIndex ] = 1; in ImplDoClass5() 342 pElement->aColorTable[ nIndex ] = pElement->aLatestColorTable[ nIndex ]; in ImplDoClass5()
|
/trunk/main/sc/source/core/data/ |
H A D | dociter.cxx | 465 nIndex = nNumFmtIndex; in GetCurNumFmtInfo() 553 sal_uInt32 nIndex = 0; in DataAccessInternal() local 1135 sal_uInt32 nIndex = 0; in ScQueryCellIterator() local 1713 SCSIZE nIndex; in SetTab() local 1714 pCol->Search( nStartRow, nIndex ); in SetTab() 1715 if ( nIndex < pCol->nCount ) in SetTab() 1742 if ( ++nIndex < pCol->nCount ) in GetNext() 1947 nIndex = nNumFmtIndex; in GetCurNumFmtInfo() 1981 SCSIZE nIndex; in ScHorizontalAttrIterator() local 1995 pIndices[nPos] = nIndex; in ScHorizontalAttrIterator() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | fileview.cxx | 176 xub_StrLen nIndex = 0; in createWildCardFilterList() local 2395 if ( nIndex >= 0 ) in CreateVector_Impl() 2403 if ( nIndex >= 0 ) in CreateVector_Impl() 2414 if ( nIndex >= 0 ) in CreateVector_Impl() 2426 if ( nIndex >= 0 ) in CreateVector_Impl() 2431 if ( nIndex >= 0 ) in CreateVector_Impl() 2438 if ( nIndex >= 0 ) in CreateVector_Impl() 2716 nIndex += 1; in SearchNextEntry() 2721 nIndex = 0; in SearchNextEntry() 2722 while ( nIndex < nEnd && nIndex <= nStart ) in SearchNextEntry() [all …]
|
/trunk/main/rdbmaker/source/rdbmaker/ |
H A D | rdbmaker.cxx | 91 sal_Int32 nIndex = 0; in initFilterTypes() local 94 filterTypes.insert( fOption.getToken( 0, ';', nIndex ).replace('.', '/') ); in initFilterTypes() 96 while ( nIndex >= 0 ); in initFilterTypes() 209 sal_Int32 nIndex = 0; in createFileName() local 212 nameBuffer.append(fileName.getToken( 0, token, nIndex ).getStr()); in createFileName() 213 if ( nIndex == -1 ) break; in createFileName() 236 while ( nIndex >= 0 ); in createFileName() 416 sal_Int32 nIndex = 0; in main() local 419 typeName = tOption.getToken( 0, ';', nIndex); in main() 465 while ( nIndex >= 0 ); in main()
|
/trunk/main/chart2/source/view/axes/ |
H A D | VCartesianGrid.cxx | 145 void addLine2D( drawing::PointSequenceSequence& rPoints, sal_Int32 nIndex in addLine2D() argument 153 rPoints[nIndex].realloc(2); in addLine2D() 154 rPoints[nIndex][0].X = static_cast<sal_Int32>(aPA.PositionX); in addLine2D() 155 rPoints[nIndex][0].Y = static_cast<sal_Int32>(aPA.PositionY); in addLine2D() 156 rPoints[nIndex][1].X = static_cast<sal_Int32>(aPB.PositionX); in addLine2D() 157 rPoints[nIndex][1].Y = static_cast<sal_Int32>(aPB.PositionY); in addLine2D() 160 void addLine3D( drawing::PolyPolygonShape3D& rPoints, sal_Int32 nIndex in addLine3D() argument 165 AddPointToPoly( rPoints, aPoint, nIndex ); in addLine3D() 167 AddPointToPoly( rPoints, aPoint, nIndex ); in addLine3D() 169 AddPointToPoly( rPoints, aPoint, nIndex ); in addLine3D()
|
/trunk/main/basic/source/classes/ |
H A D | propacc.cxx | 132 sal_Int32 nIndex = GetIndex_Impl( aPropertyName ); in setPropertyValue() local 134 sal::static_int_cast< sal_uInt16 >(nIndex)); in setPropertyValue() 146 sal_Int32 nIndex = GetIndex_Impl( aPropertyName ); in getPropertyValue() local 147 if ( nIndex != USHRT_MAX ) in getPropertyValue() 149 sal::static_int_cast< sal_uInt16 >(nIndex))->Value; in getPropertyValue() 247 sal_Int32 nIndex = GetIndex_Impl( Name ); in getPropertyByName() local 248 if( USHRT_MAX != nIndex ) in getPropertyByName() 249 return _aProps.getConstArray()[ nIndex ]; in getPropertyByName() 255 sal_Int32 nIndex = GetIndex_Impl( Name ); in hasPropertyByName() local 256 return USHRT_MAX != nIndex; in hasPropertyByName()
|
/trunk/main/oox/inc/oox/helper/ |
H A D | refvector.hxx | 54 inline bool has( sal_Int32 nIndex ) const in has() 56 const value_type* pxRef = getRef( nIndex ); in has() 61 inline value_type get( sal_Int32 nIndex ) const in get() 63 if( const value_type* pxRef = getRef( nIndex ) ) return *pxRef; in get() 186 inline const value_type* getRef( sal_Int32 nIndex ) const in getRef() 188 … return ((0 <= nIndex) && (static_cast< size_type >( nIndex ) < this->size())) ? in getRef() 189 &(*this)[ static_cast< size_type >( nIndex ) ] : 0; in getRef()
|
/trunk/main/oox/source/ole/ |
H A D | vbacontrol.cxx | 708 for( sal_Int32 nIndex = 1; !bExitLoop && (nIndex < nLen); ++nIndex ) in lclGetQuotedString() local 710 sal_Unicode cChar = rCodeLine[ nIndex ]; in lclGetQuotedString() 712 … bExitLoop = (cChar == '"') && ((nIndex + 1 == nLen) || (rCodeLine[ nIndex + 1 ] != '"')); in lclGetQuotedString() 718 ++nIndex; in lclGetQuotedString() 727 sal_Int32 nIndex = 0; in lclEatWhitespace() local 728 …while( (nIndex < rCodeLine.getLength()) && ((rCodeLine[ nIndex ] == ' ') || (rCodeLine[ nIndex ] =… in lclEatWhitespace() 729 ++nIndex; in lclEatWhitespace() 730 if( nIndex > 0 ) in lclEatWhitespace() 732 rCodeLine = rCodeLine.copy( nIndex ); in lclEatWhitespace()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_3D_SceneIllumination.cxx | 70 sal_Int32 nIndex = aTipHelp.indexOf( aReplacementStr ); in LightButton() local 71 if( nIndex != -1 ) in LightButton() 73 aTipHelp = aTipHelp.replaceAt(nIndex, aReplacementStr.getLength(), in LightButton() 185 sal_Int32 nIndex ) in lcl_getLightSourceFromProperties() argument 188 if( 0 <= nIndex && nIndex < 8 ) in lcl_getLightSourceFromProperties() 193 ::rtl::OUString aIndex( ::rtl::OUString::valueOf( nIndex + 1 )); in lcl_getLightSourceFromProperties() 215 sal_Int32 nIndex ) in lcl_setLightSource() argument 217 if( 0 <= nIndex && nIndex < 8 ) in lcl_setLightSource() 222 ::rtl::OUString aIndex( ::rtl::OUString::valueOf( nIndex + 1 )); in lcl_setLightSource() 398 sal_Int32 nIndex( nLightNumber ); in applyLightSourceToModel() local [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | textconv.cxx | 240 pConvInfo->aConvTo.nIndex = aConvSel.nEndPos; in ConvStart_impl() 458 pConvInfo->aConvContinue.nIndex = sal::static_int_cast< sal_uInt16 >( in ReplaceUnit() 459 pConvInfo->aConvContinue.nIndex + nDelta); in ReplaceUnit() 464 pConvInfo->aConvTo.nIndex = sal::static_int_cast< sal_uInt16 >( in ReplaceUnit() 465 pConvInfo->aConvTo.nIndex + nDelta); in ReplaceUnit() 509 xub_StrLen nIndex; in ChangeText() local 511 nIndex = (sal_Int32) nPos < nIndices ? (xub_StrLen) pIndices[nPos] : nPos; in ChangeText() 515 nIndex = static_cast< xub_StrLen >( rOrigText.getLength() ); in ChangeText() 518 if (rOrigText.getStr()[nIndex] == rNewText.GetChar(nPos) || in ChangeText() 524 nChgLen = nIndex - nChgPos; in ChangeText() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/ |
H A D | uno2cpp.cxx | 423 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 426 if (pParams[nIndex].bIn) in cpp_call() 428 if (pParams[nIndex].bOut) // inout in cpp_call() 430 uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 ); // destroy uno value in cpp_call() 431 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 437 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 441 uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release ); in cpp_call() 461 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 463 uno_destructData( pCppArgs[nIndex], ppTempParamTypeDescr[nTempIndizes], cpp_release ); in cpp_call()
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_x86-64/ |
H A D | uno2cpp.cxx | 417 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 420 if (pParams[nIndex].bIn) in cpp_call() 422 if (pParams[nIndex].bOut) // inout in cpp_call() 424 uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 ); // destroy uno value in cpp_call() 425 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 431 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 435 uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release ); in cpp_call() 455 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 457 uno_destructData( pCppArgs[nIndex], ppTempParamTypeDescr[nTempIndizes], cpp_release ); in cpp_call()
|
/trunk/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/ |
H A D | uno2cpp.cxx | 418 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 421 if (pParams[nIndex].bIn) in cpp_call() 423 if (pParams[nIndex].bOut) // inout in cpp_call() 425 uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 ); // destroy uno value in cpp_call() 426 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 432 uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr, in cpp_call() 436 uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release ); in cpp_call() 456 sal_Int32 nIndex = pTempIndizes[nTempIndizes]; in cpp_call() local 458 uno_destructData( pCppArgs[nIndex], ppTempParamTypeDescr[nTempIndizes], cpp_release ); in cpp_call()
|
/trunk/main/svtools/inc/svtools/ |
H A D | txtattr.hxx | 178 inline sal_Bool IsIn( sal_uInt16 nIndex ); 179 inline sal_Bool IsInside( sal_uInt16 nIndex ); 216 inline sal_Bool TextCharAttrib::IsIn( sal_uInt16 nIndex ) in IsIn() argument 218 return ( ( mnStart <= nIndex ) && ( mnEnd >= nIndex ) ); in IsIn() 221 inline sal_Bool TextCharAttrib::IsInside( sal_uInt16 nIndex ) in IsInside() argument 223 return ( ( mnStart < nIndex ) && ( mnEnd > nIndex ) ); in IsInside()
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | vbaglobalbase.cxx | 83 for ( sal_Int32 nIndex = 0; nIndex < nLen; ++nIndex ) in init() local 86 if ( aInitArgs[ nIndex ].Name.equals( sApplication ) ) in init() 88 xNameContainer->replaceByName( sApplication, aInitArgs[ nIndex ].Value ); in init() 89 uno::Reference< XHelperInterface > xParent( aInitArgs[ nIndex ].Value, uno::UNO_QUERY ); in init() 93 xNameContainer->replaceByName( aInitArgs[ nIndex ].Name, aInitArgs[ nIndex ].Value ); in init()
|
/trunk/main/basegfx/inc/basegfx/range/ |
H A D | b2dpolyrange.hxx | 79 ElementType getElement(sal_uInt32 nIndex) const; 80 void setElement(sal_uInt32 nIndex, const ElementType& rElement ); 81 … void setElement(sal_uInt32 nIndex, const B2DRange& rRange, B2VectorOrientation eOrient ); 84 void insertElement(sal_uInt32 nIndex, const ElementType& rElement, sal_uInt32 nCount = 1); 85 …void insertElement(sal_uInt32 nIndex, const B2DRange& rRange, B2VectorOrientation eOrient, sal_uIn… 90 void insertPolyRange(sal_uInt32 nIndex, const B2DPolyRange&); 93 void remove(sal_uInt32 nIndex, sal_uInt32 nCount = 1);
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbasheetobject.cxx | 285 void ScVbaSheetObjectBase::setDefaultProperties( sal_Int32 nIndex ) throw (uno::RuntimeException) in setDefaultProperties() argument 287 …OUStringBuffer( implGetBaseName() ).append( sal_Unicode( ' ' ) ).append( nIndex + 1 ).makeStringAn… in setDefaultProperties() 351 sal_Int32 nIndex = getModelIndexInForm(); in getOnAction() local 352 uno::Sequence< script::ScriptEventDescriptor > aEvents = xEventMgr->getScriptEvents( nIndex ); in getOnAction() 368 sal_Int32 nIndex = getModelIndexInForm(); in setOnAction() local 371 …try { xEventMgr->revokeScriptEvent( nIndex, maListenerType, maEventMethod, OUString() ); } catch( … in setOnAction() 384 xEventMgr->registerScriptEvent( nIndex, aDescriptor ); in setOnAction() 415 for( sal_Int32 nIndex = 0, nCount = mxFormIC->getCount(); nIndex < nCount; ++nIndex ) in getModelIndexInForm() local 417 …uno::Reference< beans::XPropertySet > xProps( mxFormIC->getByIndex( nIndex ), uno::UNO_QUERY_THROW… in getModelIndexInForm() 419 return nIndex; in getModelIndexInForm()
|
/trunk/main/sd/source/ui/slideshow/ |
H A D | slideshowimpl.cxx | 187 …bool isValidIndex( sal_Int32 nIndex ) const { return (nIndex >= 0) && (nIndex < (sal_Int32)maSlide… in isValidIndex() 215 if( nIndex != -1 ) in isVisibleSlideNumber() 264 sal_Int32 nIndex; in getStartSlideIndex() local 267 for( nIndex = 0; nIndex < nCount; nIndex++ ) in getStartSlideIndex() 270 return nIndex; in getStartSlideIndex() 383 sal_Int32 nIndex; in findSlideIndex() local 386 for( nIndex = 0; nIndex < nCount; nIndex++ ) in findSlideIndex() 389 return nIndex; in findSlideIndex() 535 for (int nIndex=0,nCount=aProperties.size();nIndex<nCount; ++nIndex) in displayCurrentSlide() local 536 aPropertySequence[nIndex] = aProperties[nIndex]; in displayCurrentSlide() [all …]
|