/trunk/main/svtools/inc/svtools/ |
H A D | svxbox.hxx | 80 void RemoveEntry( sal_uInt16 nPos ); 93 void ModifyEntry( sal_uInt16 nPos, const String& aName ); 95 const SvxBoxEntry& GetModifiedEntry( sal_uInt16 nPos ) const; 98 const SvxBoxEntry& GetRemovedEntry( sal_uInt16 nPos ) const; 101 const SvxBoxEntry& GetNewEntry( sal_uInt16 nPos ) const; 149 void RemoveEntry( sal_uInt16 nPos ); 157 void ModifyEntry( sal_uInt16 nPos, const String& aName ); 159 const SvxBoxEntry& GetModifiedEntry( sal_uInt16 nPos ) const; 162 const SvxBoxEntry& GetRemovedEntry( sal_uInt16 nPos ) const; 165 const SvxBoxEntry& GetNewEntry( sal_uInt16 nPos ) const;
|
/trunk/main/sfx2/source/doc/ |
H A D | objxtor.cxx | 475 sal_uInt16 nPos = rDocs.GetPos(pThis); in Close() local 476 if ( nPos < rDocs.Count() ) in Close() 477 rDocs.Remove( nPos ); in Close() 498 for ( sal_uInt16 nPos = 0; nPos < rDocs.Count(); ++nPos ) in GetFirst() local 525 sal_uInt16 nPos; in GetNext() local 526 for ( nPos = 0; nPos < rDocs.Count(); ++nPos ) in GetNext() 527 if ( rDocs.GetObject(nPos) == &rPrev ) in GetNext() 531 for ( ++nPos; nPos < rDocs.Count(); ++nPos ) in GetNext() 991 sal_uInt16 nPos = aFact.Search( '?' ); in GetServiceNameFromFactory() local 993 if ( nPos != STRING_NOTFOUND ) in GetServiceNameFromFactory() [all …]
|
/trunk/main/xmlsecurity/source/helper/ |
H A D | xsecctl.cxx | 88 sal_Int32 nPos = 0L; in convertNumber() local 92 while( nPos < nLen && sal_Unicode(' ') == rString[nPos] ) in convertNumber() 93 nPos++; in convertNumber() 95 if( nPos < nLen && sal_Unicode('-') == rString[nPos] ) in convertNumber() 98 nPos++; in convertNumber() 102 while( nPos < nLen && in convertNumber() 109 nPos++; in convertNumber() 115 return nPos == nLen; in convertNumber() 169 if ( nPos >= 0 ) in convertDateTime() 171 aDateStr = rString.copy( 0, nPos ); in convertDateTime() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | scriptinfo.hxx | 131 inline void SetInvalidity( const xub_StrLen nPos ); 160 xub_StrLen NextScriptChg( const xub_StrLen nPos ) const; 161 sal_uInt8 ScriptType( const xub_StrLen nPos ) const; 167 xub_StrLen NextDirChg( const xub_StrLen nPos, 169 sal_uInt8 DirType( const xub_StrLen nPos ) const; 172 sal_uInt8 CompType( const xub_StrLen nPos ) const; 206 bool GetBoundsOfHiddenRange( xub_StrLen nPos, xub_StrLen& rnStartPos, 209 static bool IsInHiddenRange( const SwTxtNode& rNode, xub_StrLen nPos ); 350 inline void SwScriptInfo::SetInvalidity( const xub_StrLen nPos ) in SetInvalidity() argument 352 if ( nPos < nInvalidityPos ) in SetInvalidity() [all …]
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | CurlUri.cxx | 275 sal_Int32 nPos = mPath.lastIndexOf ('/'); in GetPathBaseName() local 277 if (nPos == mPath.getLength () - 1) in GetPathBaseName() 281 nPos = mPath.lastIndexOf ('/', nPos); in GetPathBaseName() 283 if (nPos != -1) in GetPathBaseName() 286 mPath.copy (nPos + 1, mPath.getLength () - nPos - 1 - nTrail) ); in GetPathBaseName() 289 nPos = aTemp.indexOf( '?' ); in GetPathBaseName() 290 if ( nPos == -1 ) in GetPathBaseName() 291 nPos = aTemp.indexOf( '#' ); in GetPathBaseName() 293 if ( nPos != -1 ) in GetPathBaseName() 294 aTemp = aTemp.copy( 0, nPos ); in GetPathBaseName()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlsect.cxx | 278 if( STRING_NOTFOUND != nPos ) in NewDivision() 283 xub_StrLen nTmp = nPos; in NewDivision() 284 nPos = nPos2; in NewDivision() 288 if( STRING_NOTFOUND == nPos ) in NewDivision() 298 aURL += aHRef.Copy( nPos+1 ); in NewDivision() 302 aURL += aHRef.Copy( nPos+1, nPos2 - (nPos+1) ); in NewDivision() 396 sal_uInt16 nPos = aContexts.Count(); in EndDivision() local 403 pCntxt = aContexts[nPos]; in EndDivision() 404 aContexts.Remove( nPos, 1 ); in EndDivision() 531 sal_uInt16 nPos = aContexts.Count(); in EndSections() local [all …]
|
/trunk/main/vcl/inc/vcl/ |
H A D | toolbox.hxx | 65 sal_uInt16 nId, sal_uInt16 nPos = 0, 89 mnPosTo = nPos; in ToolBoxCustomizeEvent() 385 sal_uInt16 nPos = TOOLBOX_APPEND ); 388 sal_uInt16 nPos = TOOLBOX_APPEND ); 392 sal_uInt16 nPos = TOOLBOX_APPEND ); 395 sal_uInt16 nPos = TOOLBOX_APPEND ); 403 void RemoveItem( sal_uInt16 nPos ); 438 ToolBoxItemType GetItemType( sal_uInt16 nPos ) const; 441 sal_uInt16 GetItemId( sal_uInt16 nPos ) const; 444 Rectangle GetItemPosRect( sal_uInt16 nPos ) const; [all …]
|
H A D | combobox.hxx | 129 sal_uInt16 InsertEntry( const XubString& rStr, sal_uInt16 nPos = COMBOBOX_APPEND ); 130 …sal_uInt16 InsertEntry( const XubString& rStr, const Image& rImage, sal_uInt16 nPos = COM… 133 void RemoveEntry( sal_uInt16 nPos ); 139 Image GetEntryImage( sal_uInt16 nPos ) const; 140 XubString GetEntry( sal_uInt16 nPos ) const; 187 void SetEntryData( sal_uInt16 nPos, void* pNewData ); 188 void* GetEntryData( sal_uInt16 nPos ) const; 190 void SetTopEntry( sal_uInt16 nPos ); 191 void ShowProminentEntry( sal_uInt16 nPos ); 201 sal_Bool IsEntryPosSelected( sal_uInt16 nPos ) const; [all …]
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | AConnection.cxx | 445 sal_Int32 nPos = 1; in buildTypeInfo() local 447 aInfo->aSimpleType.aTypeName = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 452 aInfo->aSimpleType.nPrecision = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 455 aInfo->aSimpleType.aCreateParams = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 456 aInfo->aSimpleType.bNullable = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 458 aInfo->aSimpleType.nSearchType = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 459 aInfo->aSimpleType.bUnsigned = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 460 aInfo->aSimpleType.bCurrency = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 463 aInfo->aSimpleType.nMinimumScale = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 464 aInfo->aSimpleType.nMaximumScale = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() [all …]
|
/trunk/main/svx/source/form/ |
H A D | fmobj.cxx | 174 xParent->removeByIndex( nPos ); in impl_isolateControlModel_nothrow() 273 if (nPos >= 0) in SetPage() 274 aNewEvents = xEventManager->getScriptEvents(nPos); in SetPage() 302 if (nPos > -1) in SetPage() 303 xOldParent->removeByIndex(nPos); in SetPage() 319 xEventManager->registerScriptEvents(nPos, aNewEvents); in SetPage() 422 sal_Int32 nPos = getElementPos( xManagerAsIndex, xContent ); in operator =() local 423 if ( nPos >= 0 ) in operator =() 424 aEvts = xManager->getScriptEvents( nPos ); in operator =() 448 sal_Int32 nPos = getElementPos(xParent, xChild); in lcl_getFormComponentAccessPath() local [all …]
|
/trunk/main/io/source/stm/ |
H A D | streamhelper.cxx | 129 void MemRingBuffer::readAt( sal_Int32 nPos, Sequence<sal_Int8> &seq , sal_Int32 nBytesToRead ) const in readAt() argument 132 if( nPos + nBytesToRead > m_nOccupiedBuffer ) { in readAt() 136 sal_Int32 nStartReadingPos = nPos + m_nStart; in readAt() 154 void MemRingBuffer::writeAt( sal_Int32 nPos, const Sequence<sal_Int8> &seq ) in writeAt() argument 161 if( nPos < 0 || nPos > std::numeric_limits< sal_Int32 >::max() - nLen ) in writeAt() 166 if( nPos + nLen - m_nOccupiedBuffer > 0 ) { in writeAt() 167 resizeBuffer( nPos + seq.getLength() ); in writeAt() 170 sal_Int32 nStartWritingIndex = m_nStart + nPos; in writeAt() 186 m_nOccupiedBuffer = Max( nPos + seq.getLength() , m_nOccupiedBuffer ); in writeAt()
|
/trunk/main/reportdesign/source/core/api/ |
H A D | ReportEngineJFree.cxx | 200 sal_Int32 nPos = 0; in getNewOutputName() local 202 aConvertedProperties[nPos++].Value <<= xTemp; in getNewOutputName() 229 aConvertedProperties[nPos++].Value <<= xOut; in getNewOutputName() 231 aConvertedProperties[nPos].Name = PROPERTY_REPORTDEFINITION; in getNewOutputName() 232 aConvertedProperties[nPos++].Value <<= m_xReport; in getNewOutputName() 234 aConvertedProperties[nPos].Name = PROPERTY_ACTIVECONNECTION; in getNewOutputName() 235 aConvertedProperties[nPos++].Value <<= m_xActiveConnection; in getNewOutputName() 237 aConvertedProperties[nPos].Name = PROPERTY_MAXROWS; in getNewOutputName() 238 aConvertedProperties[nPos++].Value <<= m_nMaxRows; in getNewOutputName() 246 aConvertedProperties[nPos].Name = s_sAuthor; in getNewOutputName() [all …]
|
/trunk/main/bridges/source/cpp_uno/gcc3_linux_s390/ |
H A D | uno2cpp.cxx | 338 for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos ) in cpp_call() local 340 const typelib_MethodParameter & rParam = pParams[nPos]; in cpp_call() 346 uno_copyAndConvertData( pCppArgs[nPos] = pCppStack, pUnoArgs[nPos], pParamTypeDescr, in cpp_call() 402 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 404 pTempIndizes[nTempIndizes] = nPos; // default constructed for cpp call in cpp_call() 412 *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ), in cpp_call() 413 pUnoArgs[nPos], pParamTypeDescr, pThis->getBridge()->getUno2Cpp() ); in cpp_call() 415 pTempIndizes[nTempIndizes] = nPos; // has to be reconverted in cpp_call() 421 *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos]; in cpp_call()
|
/trunk/main/tools/inc/tools/ |
H A D | ownlist.hxx | 49 void Remove( sal_uIntPtr nPos ) \ 50 { delete (Type *)aTypes.Remove( nPos ); } \ 51 Type & Insert( const Type &, sal_uIntPtr nPos ); \ 56 Type & GetObject( sal_uIntPtr nPos ) const \ 57 { return *(Type *)aTypes.GetObject( nPos ); } \ 58 Type & operator []( sal_uIntPtr nPos ) const \ 59 { return *(Type *)aTypes.GetObject( nPos ); } \ 83 Type & ClassName::Insert( const Type & rType, sal_uIntPtr nPos ) \ 86 aTypes.Insert( pType, nPos ); \
|
/trunk/main/sw/source/core/fields/ |
H A D | macrofld.cxx | 95 sal_uInt16 nPos = aMacro.Len(); in GetLibName() local 97 for (sal_uInt16 i = 0; i < 3 && nPos > 0; i++) in GetLibName() 98 while (aMacro.GetChar(--nPos) != '.' && nPos > 0) ; in GetLibName() 100 return aMacro.Copy(0, nPos ); in GetLibName() 117 sal_uInt16 nPos = aMacro.Len(); in GetMacroName() local 119 for (sal_uInt16 i = 0; i < 3 && nPos > 0; i++) in GetMacroName() 120 while (aMacro.GetChar(--nPos) != '.' && nPos > 0) ; in GetMacroName() 122 return aMacro.Copy( ++nPos ); in GetMacroName()
|
/trunk/main/xmloff/source/core/ |
H A D | unoatrcn.cxx | 81 sal_Int32 nPos = aName.indexOf( sal_Unicode(':') ); in getIndexByName() local 82 if( nPos == -1L ) in getIndexByName() 93 const OUString aPrefix( aName.copy( 0L, nPos ) ); in getIndexByName() 94 const OUString aLName( aName.copy( nPos+1L ) ); in getIndexByName() 203 if( nPos != -1L ) in replaceByName() 205 const OUString aPrefix( aName.copy( 0L, nPos )); in replaceByName() 206 const OUString aLName( aName.copy( nPos+1L )); in replaceByName() 245 sal_Int32 nPos = aName.indexOf( sal_Unicode(':') ); in insertByName() local 246 if( nPos != -1L ) in insertByName() 248 const OUString aPrefix( aName.copy( 0L, nPos )); in insertByName() [all …]
|
/trunk/main/sw/source/filter/ww8/dump/ |
H A D | dump8a.cxx | 377 long nPos = aBook.Where(); in DumpBookHigh() local 378 if( nPos >= LONG_MAX ) in DumpBookHigh() 891 xStrm->Seek( nPos ); in DumpSepx() 948 xStrm->Seek( nPos+511 ); in DumpFkp() 965 xStrm->Seek( nPos + i * 4 ); in DumpFkp() 975 xStrm->Seek( nPos + nOfs ); in DumpFkp() 1229 xTableStream->Seek( nPos ); in DumpPcd() 1249 long nPos = xTableStream->Tell(); in DumpPcd() local 2150 *pOut << hex6 << nPos << indent1; in DumpEscherRec() 2458 xTableStream->Seek( nPos+cbUPX ); in DumpStyleUPX() [all …]
|
/trunk/main/svx/inc/svx/ |
H A D | svdmark.hxx | 48 void CheckSort(sal_uLong nPos); 97 void Insert(sal_uInt16 nElem, sal_uLong nPos = CONTAINER_APPEND) in Insert() argument 99 maArray.Insert((void*)sal_uLong(nElem),nPos); in Insert() 103 CheckSort(nPos); in Insert() 107 void Remove(sal_uLong nPos) in Remove() argument 109 maArray.Remove(nPos); in Remove() 112 void Replace(sal_uInt16 nElem, sal_uLong nPos) in Replace() argument 114 maArray.Replace((void*)sal_uLong(nElem), nPos); in Replace() 118 CheckSort(nPos); in Replace() 122 sal_uInt16 GetObject(sal_uLong nPos) const in GetObject() [all …]
|
/trunk/main/svgio/inc/svgio/svgreader/ |
H A D | svgtools.hxx | 194 …void skip_char(const rtl::OUString& rCandidate, const sal_Unicode& rChar, sal_Int32& nPos, const s… 195 …ndidate, const sal_Unicode& rCharA, const sal_Unicode& rCharB, sal_Int32& nPos, const sal_Int32 nL… 196 …void copySign(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, cons… 197 …void copyNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, co… 198 …void copyHex(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, const… 199 …void copyString(const rtl::OUString& rCandidate, sal_Int32& nPos, rtl::OUStringBuffer& rTarget, co… 200 …(const rtl::OUString& rCandidate, const sal_Unicode& rLimiter, sal_Int32& nPos, rtl::OUStringBuffe… 201 …bool readNumber(const rtl::OUString& rCandidate, sal_Int32& nPos, double& fNum, const sal_Int32 nL… 202 SvgUnit readUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, const sal_Int32 nLen); 203 …bool readNumberAndUnit(const rtl::OUString& rCandidate, sal_Int32& nPos, SvgNumber& aNum, const sa… [all …]
|
/trunk/main/xmloff/source/style/ |
H A D | xmlnumfe.cxx | 824 if ( nPos != STRING_NOTFOUND ) in WriteTextWithCurrency_Impl() 828 sal_Int32 nCont = nPos + nCurLen; in WriteTextWithCurrency_Impl() 831 if ( nPos > 0 ) in WriteTextWithCurrency_Impl() 902 sal_uInt16 nPos = 0; in lcl_IsDefaultDateFormat() local 945 ++nPos; in lcl_IsDefaultDateFormat() 1179 sal_uInt16 nPos = 0; in ExportPart_Impl() local 1235 ++nPos; in ExportPart_Impl() 1246 nPos = 0; in ExportPart_Impl() 1282 ++nPos; in ExportPart_Impl() 1291 nPos = 0; in ExportPart_Impl() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | docfld.cxx | 1204 sal_uInt16 nPos; in FldsToExpand() local 1309 sal_uInt16 nPos; in UpdateExpFlds() local 1426 sal_uInt16 nPos; in UpdateExpFlds() local 1476 sal_uInt16 nPos; in UpdateExpFlds() local 1844 xub_StrLen nPos; in FindUsedDBs() local 1851 (!nPos || !rCC.isLetterNumeric( sFormel, nPos - 1 ))) in FindUsedDBs() 1860 pDBNm->Append( sFormel.Copy( nPos, nEndPos - nPos )); in FindUsedDBs() 2039 xub_StrLen nPos = 0; in ReplaceUsedDBs() local 2041 while ((nPos = sFormel.Search(sDBName, nPos)) != STRING_NOTFOUND) in ReplaceUsedDBs() 2044 (!nPos || !rCC.isLetterNumeric( sFormel, nPos - 1 ))) in ReplaceUsedDBs() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | dpoutput.cxx | 238 for (long nPos=0; nPos<nSize; nPos++) in lcl_FillNumberFormats() local 243 for (long nPos=0; nPos<nSize; nPos++) in lcl_FillNumberFormats() local 1659 for (sal_Int32 nPos=0; nPos<nSize; nPos++) in lcl_StripSubTotals() local 1660 if ( rResult[nPos] && rSubtotal[nPos] ) in lcl_StripSubTotals() 1663 sal_Int32 nStart = nPos - rSubtotal[nPos]; in lcl_StripSubTotals() 1922 for (long nPos=0; nPos<nColFieldCount && !bFound; nPos++) in GetHeaderDrag() local 1927 if ( nField < nPos ) in GetHeaderDrag() 1976 for (long nPos=0; nPos<nRowFieldCount && !bFound; nPos++) in GetHeaderDrag() local 1981 if ( nField < nPos ) in GetHeaderDrag() 2032 for (long nPos=0; nPos<nPageFieldCount && !bFound; nPos++) in GetHeaderDrag() local [all …]
|
/trunk/main/i18npool/source/breakiterator/ |
H A D | breakiterator_unicode.cxx | 292 if(word.aBreakIterator->isBoundary(nPos)) { in getWordBoundary() 293 result.startPos = result.endPos = nPos; in getWordBoundary() 294 if((bDirection || nPos == 0) && nPos < len) //forward in getWordBoundary() 295 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary() 297 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary() 299 if(nPos <= 0) { in getWordBoundary() 302 } else if(nPos >= len) { in getWordBoundary() 306 result.startPos = word.aBreakIterator->preceding(nPos); in getWordBoundary() 307 result.endPos = word.aBreakIterator->following(nPos); in getWordBoundary() 348 sal_Int32 nPos=nStartPos; in endOfSentence() local [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlfmt.cxx | 79 sal_Int32 nPos; member in SwXMLConditionParser_Impl 99 while( nPos < nLength && ' ' == sInput[nPos] ) in SkipWS() 100 nPos++; in SkipWS() 107 if( nPos < nLength && c == sInput[nPos] ) in MatchChar() 109 nPos++; in MatchChar() 119 ( ('a' <= sInput[nPos] && sInput[nPos] <= 'z') || in MatchName() 123 nPos++; in MatchName() 132 while( nPos < nLength && '0' <= sInput[nPos] && sInput[nPos] <= '9' ) in MatchNumber() 135 nPos++; in MatchNumber() 148 nPos( 0 ), in SwXMLConditionParser_Impl() [all …]
|
/trunk/main/rsc/source/res/ |
H A D | rsccont.cxx | 215 RscTop * pClass, sal_uInt32 nPos ) in SearchElePos() argument 225 for( i = nPos; i < pClassData->nEntries; i++ ){ in SearchElePos() 363 if( nPos < pClassData->nEntries ) in GetPosEle() 364 return( pClassData->pEntries[ nPos ].aInst ); in GetPosEle() 424 if( nPos < pClassData->nEntries ){ in SetPosRscId() 429 pClassData->pEntries[ nPos ].aName = rId; in SetPosRscId() 453 if( nPos < pClassData->nEntries ){ in GetInfoEle() 454 aInfo.aId = pClassData->pEntries[ nPos ].aName; in GetInfoEle() 455 aInfo.nPos = nPos; in GetInfoEle() 833 if( nPos < pClassData->nEntries ){ in DeletePos() [all …]
|