/trunk/main/padmin/source/ |
H A D | cmddlg.cxx | 77 int nLen = strlen( pBuffer ); in getSystemPdfCommands() local 78 if( pBuffer[nLen-1] == '\n' ) // strip newline in getSystemPdfCommands() 79 pBuffer[--nLen] = 0; in getSystemPdfCommands() 84 && nLen > 2 in getSystemPdfCommands() 85 && aCommand.GetChar( nLen-2 ) == 'g' in getSystemPdfCommands() 86 && aCommand.GetChar( nLen-1 ) == 's' ) in getSystemPdfCommands() 100 int nLen = strlen( pBuffer ); in getSystemPdfCommands() local 101 if( pBuffer[nLen-1] == '\n' ) // strip newline in getSystemPdfCommands() 102 pBuffer[--nLen] = 0; in getSystemPdfCommands() 107 && nLen > 7 in getSystemPdfCommands() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | excimp8.cxx | 158 sal_uInt8 nLen; in Boundsheet() local 164 aIn >> nGrbit >> nLen; in Boundsheet() 166 String aName( aIn.ReadUniString( nLen ) ); in Boundsheet() 446 xub_StrLen nLen = rEntry.pStr->Len(); in ExcelQueryToOooQuery() local 448 sal_Unicode nEnd = rEntry.pStr->GetChar( nLen-1 ); in ExcelQueryToOooQuery() 449 if( nLen >2 && nStart == '*' && nEnd == '*' ) in ExcelQueryToOooQuery() 451 rEntry.pStr->Erase( nLen-1, 1 ); in ExcelQueryToOooQuery() 455 else if( nLen > 1 && nStart == '*' && nEnd != '*' ) in ExcelQueryToOooQuery() 460 else if( nLen > 1 && nStart != '*' && nEnd == '*' ) in ExcelQueryToOooQuery() 462 rEntry.pStr->Erase( nLen-1, 1 ); in ExcelQueryToOooQuery() [all …]
|
/trunk/main/linguistic/source/ |
H A D | hyphdsp.cxx | 317 sal_Int32 nLen = pEntry->aSvcImplNames.getLength() > 0 ? 1 : 0; in hyphenate() local 318 DBG_ASSERT( pEntry->nLastTriedSvcIndex < nLen, in hyphenate() 334 else if (pEntry->nLastTriedSvcIndex < nLen - 1) in hyphenate() 456 sal_Int32 nLen = pEntry->aSvcImplNames.getLength() > 0 ? 1 : 0; in queryAlternativeSpelling() local 457 DBG_ASSERT( pEntry->nLastTriedSvcIndex < nLen, in queryAlternativeSpelling() 473 else if (pEntry->nLastTriedSvcIndex < nLen - 1) in queryAlternativeSpelling() 590 sal_Int32 nLen = pEntry->aSvcImplNames.getLength() > 0 ? 1 : 0; in createPossibleHyphens() local 591 DBG_ASSERT( pEntry->nLastTriedSvcIndex < nLen, in createPossibleHyphens() 607 else if (pEntry->nLastTriedSvcIndex < nLen - 1) in createPossibleHyphens() 675 sal_Int32 nLen = rSvcImplNames.getLength(); in SetServiceList() local [all …]
|
H A D | gciterator.cxx | 154 const sal_Int32 nLen = rText.getLength(); in lcl_SkipWhiteSpaces() local 161 if (nStartPos > nLen) in lcl_SkipWhiteSpaces() 164 nStartPos = nLen; in lcl_SkipWhiteSpaces() 172 if (0 <= nStartPos && nStartPos < nLen) in lcl_SkipWhiteSpaces() 175 while (nStartPos < nLen && lcl_IsWhiteSpace( *pText )) in lcl_SkipWhiteSpaces() 189 const sal_Int32 nLen = rText.getLength(); in lcl_BacktraceWhiteSpaces() local 196 if (nStartPos > nLen) in lcl_BacktraceWhiteSpaces() 199 nStartPos = nLen; in lcl_BacktraceWhiteSpaces() 212 if (0 <= nStartPos && nStartPos < nLen) in lcl_BacktraceWhiteSpaces() 1067 sal_Int32 nLen = aElementNames.getLength(); in GetConfiguredGCSvcs_Impl() local [all …]
|
/trunk/main/fpicker/source/win32/filepicker/ |
H A D | FileOpenDlg.cxx | 371 LPARAM nLen = SendMessage( in getCurrentFilePath() local 377 if (nLen > 0) in getCurrentFilePath() 379 m_helperBuffer.setLength((nLen * sizeof(sal_Unicode)) - 1); in getCurrentFilePath() 393 LPARAM nLen = SendMessage( in getCurrentFolderPath() local 399 if (nLen > 0) in getCurrentFolderPath() 401 m_helperBuffer.setLength((nLen * sizeof(sal_Unicode)) - 1); in getCurrentFolderPath() 415 LPARAM nLen = SendMessage( in getCurrentFileName() local 421 if (nLen > 0) in getCurrentFileName() 423 m_helperBuffer.setLength((nLen * sizeof(sal_Unicode)) - 1); in getCurrentFileName()
|
/trunk/main/oox/source/dump/ |
H A D | oledumper.cxx | 71 sal_Int32 nLen = mxStrm->readInt32(); in dumpAnsiString32OrStdClip() local 72 …return (nLen < 0) ? OUString::valueOf( dumpStdClipboardFormat( rName ) ) : dumpCharArray( rName, n… in dumpAnsiString32OrStdClip() 77 sal_Int32 nLen = mxStrm->readInt32(); in dumpUniString32OrStdClip() local 78 …return (nLen < 0) ? OUString::valueOf( dumpStdClipboardFormat( rName ) ) : dumpUnicodeArray( rName… in dumpUniString32OrStdClip() 279 sal_Int32 nLen = mxStrm->readInt32(); in implDump() local 280 if( (0 <= nLen) && (nLen <= 40) ) in implDump() 291 writeDecItem( "length", nLen ); in implDump() 579 sal_Int32 nLen = dumpDec< sal_Int32 >( "string-len" ); in dumpString8() local 580 return mbIsUnicode ? dumpCharArray16( rName, nLen ) : dumpCharArray8( rName, nLen ); in dumpString8() 593 sal_Int32 nLen = dumpDec< sal_Int32 >( "string-len" ); in dumpString16() local [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | emfwr.cxx | 786 xub_StrLen nLen = rText.Len(), i; in ImplWriteTextRecord() local 788 if( nLen ) in ImplWriteTextRecord() 803 pOwnArray = new sal_Int32[ nLen ]; in ImplWriteTextRecord() 808 if( nLen > 1 ) in ImplWriteTextRecord() 810 nNormWidth = pDX[ nLen - 2 ] + maVDev.GetTextWidth( rText.GetChar( nLen - 1 ) ); in ImplWriteTextRecord() 830 (*mpStm) << (sal_uInt32) ( 76 + ( nLen << 1 ) + ( (nLen & 1 ) ? 2 : 0 ) ); in ImplWriteTextRecord() 833 for( i = 0; i < nLen; i++ ) in ImplWriteTextRecord() 837 if( nLen & 1 ) in ImplWriteTextRecord() 843 if( nLen > 1 ) in ImplWriteTextRecord() 845 for( i = 1; i < ( nLen - 1 ); i++ ) in ImplWriteTextRecord() [all …]
|
H A D | winwmf.cxx | 423 sal_uInt16 i, nLen, nOptions; in ReadRecordParams() local 434 *pWMF >> nLen >> nOptions; in ReadRecordParams() 443 if( nLen ) in ReadRecordParams() 445 nOriginalTextLen = nLen; in ReadRecordParams() 841 sal_uInt16 nMode, nLen; in ReadRecordParams() local 843 >> nLen; in ReadRecordParams() 844 if ( ( nMode == W_MFCOMMENT ) && ( nLen >= 4 ) ) in ReadRecordParams() 859 sal_uInt32 nEscLen = nLen - 14; in ReadRecordParams() 1352 sal_uInt16 nLen, nOptions; in GetPlaceableBound() local 1362 *pStm >> nLen >> nOptions; in GetPlaceableBound() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par3.cxx | 482 sal_uInt8 nLen) in GrpprlHasSprm() argument 486 while (i < nLen) in GrpprlHasSprm() 523 if (nLen == STRING_LEN) in lcl_CopyGreaterEight() 524 nLen = rSrc.Len(); in lcl_CopyGreaterEight() 736 while (0 < nLen) in ReadLVL() 739 nLen = nLen - nL1; in ReadLVL() 1980 nLen = nLen - nL1; in RegisterNumFmtOnTxtNode() 2010 short nLen) in Read_ListLevel() argument 2015 if( nLen < 0 ) in Read_ListLevel() 2071 short nLen) in Read_LFOPosition() argument [all …]
|
H A D | wrtw8sty.cxx | 348 SwWW8Writer::InsUInt16( *pO, nLen ); in StartStyle() 892 sal_uInt16 nLen = aPos.Count(); in Write() local 1970 sal_uInt16 nLen = aCntnt.Count(); in WriteGenericTxt() local 1971 if ( !nLen ) in WriteGenericTxt() 1981 for ( i = 0; i < nLen; i++ ) in WriteGenericTxt() 2001 for ( i = 0; i < nLen; i++ ) in WriteGenericTxt() 2076 for ( i = 0; i < nLen; i++ ) in WriteGenericTxt() 2113 sal_uInt16 nLen = aCps.Count(); in WriteGenericPlc() local 2114 if ( !nLen ) in WriteGenericPlc() 2256 for ( i = 0; i < nLen; i++ ) in WriteGenericPlc() [all …]
|
/trunk/main/connectivity/source/commontools/ |
H A D | TIndexes.cxx | 66 sal_Int32 nLen = _rName.indexOf('.'); in createObject() local 67 if ( nLen != -1 ) in createObject() 69 aQualifier = _rName.copy(0,nLen); in createObject() 70 aName = _rName.copy(nLen+1); in createObject() 231 sal_Int32 nLen = _sElementName.indexOf('.'); in dropObject() local 232 if(nLen != -1) in dropObject() 233 aSchema = _sElementName.copy(0,nLen); in dropObject() 234 aName = _sElementName.copy(nLen+1); in dropObject()
|
/trunk/main/sw/source/ui/vba/ |
H A D | vbafield.cxx | 70 xub_StrLen nLen, nFnd, nNext, nSavPtr; member in _ReadFieldParams 90 : aData( _rData ), nLen( _rData.Len() ), nNext( 0 ) in _ReadFieldParams() 97 while( (nLen > nNext) && (aData.GetChar( nNext ) == ' ') ) in _ReadFieldParams() 101 while( nLen > nNext in _ReadFieldParams() 144 (STRING_NOTFOUND != nNext) && (nLen > nNext) && in SkipToNextToken() 189 while( (nLen > n) && (aData.GetChar( n ) == ' ') ) in FindNextStringPiece() 192 if( nLen == n ) in FindNextStringPiece() 201 while( (nLen > n2) in FindNextStringPiece() 210 while( (nLen > n2) && (aData.GetChar( n2 ) != ' ') ) // Ende d. Paras suchen in FindNextStringPiece() 227 if( nLen > n2 ) in FindNextStringPiece()
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | ConversionHelper.cxx | 328 sal_Int32 nLen = rFmt.getLength(); in lcl_SwapQuotesInField() local 331 for (sal_Int32 nI = 0; nI < nLen; ++nI) in lcl_SwapQuotesInField() 360 sal_Int32 nLen = sFormat.getLength(); in ConvertMSFormatStringToSO() local 364 while (nI < nLen) in ConvertMSFormatStringToSO() 372 … while ((nI < nLen) && (!(aNewFormat.charAt(nI) == '\"') && (aNewFormat.charAt(nI-1) != '\\'))) in ConvertMSFormatStringToSO() 399 if ((nI != nLen-1) && (aNewFormat.charAt(nI+1) == 'E')) in ConvertMSFormatStringToSO() 405 nLen+=2; in ConvertMSFormatStringToSO() 412 if ((nI != nLen-1) && (aNewFormat.charAt(nI+1) == 'e')) in ConvertMSFormatStringToSO() 418 nLen+=2; in ConvertMSFormatStringToSO() 430 nLen++; in ConvertMSFormatStringToSO()
|
/trunk/main/cui/source/dialogs/ |
H A D | hyphen.cxx | 227 xub_StrLen nLen = aTxt.Len(); in EnableLRBtn_Impl() local 231 for ( i = nOldPos + 2; i < nLen; ++i ) in EnableLRBtn_Impl() 297 sal_Int32 nLen = aHyphenationPositions.getLength(); in EraseUnusableHyphens_Impl() local 303 if (nLen) in EraseUnusableHyphens_Impl() 306 for (sal_Int32 i = 0; i < nLen; ++i) in EraseUnusableHyphens_Impl() 394 sal_Int32 nLen = aSeq.getLength(); in ContinueHyph_Impl() local 395 DBG_ASSERT(nLen, "empty sequence"); in ContinueHyph_Impl() 396 DBG_ASSERT(0 <= nIdxPos && nIdxPos < nLen, "index out of range"); in ContinueHyph_Impl() 397 if (nLen && 0 <= nIdxPos && nIdxPos < nLen) in ContinueHyph_Impl()
|
/trunk/main/sal/osl/os2/ |
H A D | profile.c | 909 sal_Int32 nLen; 917 nLen = strProgName->length ; 925 nLen -= 4; 927 if ((nFileLen = nLen - nOffset) >= _MAX_PATH) 973 if (nLen + nPathLen >= _MAX_PATH) 977 nPathLen += nLen; 1005 if (nLen + nPathLen >= _MAX_PATH) 1009 nPathLen += nLen; 1026 if (nLen + nPathLen >= MAX_PATH) 1030 nPathLen += nLen; [all …]
|
/trunk/main/offapi/com/sun/star/text/ |
H A D | XFlatParagraph.idl | 110 @param nLen 120 com::sun::star::lang::Locale getLanguageOfText( [in] long nPos, [in] long nLen ) 130 @param nLen 140 [in] long nLen ) 149 @param nLen 161 void changeText( [in] long nPos, [in] long nLen, [in] string aNewText, 171 @param nLen 180 void changeAttributes( [in] long nPos, [in] long nLen,
|
/trunk/main/sw/source/core/text/ |
H A D | inftxt.hxx | 200 xub_StrLen nIdx, nLen; member in SwTxtSizeInfo 224 const xub_StrLen nLen = STRING_LEN ); 230 const xub_StrLen nLen = STRING_LEN ); 301 const xub_StrLen nLen, const sal_uInt16 nComp ) const; 304 const xub_StrLen nLen, const sal_uInt16 nComp, 325 inline xub_StrLen GetLen() const { return nLen; } in GetLen() 326 inline void SetLen( const xub_StrLen nNew ) { nLen = nNew; } in SetLen() 413 const xub_StrLen nIdx, const xub_StrLen nLen, 452 const xub_StrLen nLen = STRING_LEN, 454 inline void DrawText( const SwLinePortion &rPor, const xub_StrLen nLen, [all …]
|
/trunk/main/sal/osl/w32/ |
H A D | file_dirvol.cxx | 353 int nLen = _tcslen( pEnum->lpCurrent ); in EnumLogicalDrives() local 355 if ( nLen ) in EnumLogicalDrives() 357 CopyMemory( lpBuffer, pEnum->lpCurrent, (nLen + 1) * sizeof(TCHAR) ); in EnumLogicalDrives() 358 pEnum->lpCurrent += nLen + 1; in EnumLogicalDrives() 401 sal_uInt32 nLen = rtl_uString_getLength( pPath ); in OpenDirectory() local 402 if ( nLen ) in OpenDirectory() 407 if ( pPath->buffer[nLen - 1] != L'\\' ) in OpenDirectory() 524 if ( nLen && pDirImpl->m_pDirectoryPath->buffer[nLen - 1] != L'\\' ) in osl_openLocalRoot() 589 if ( nLen && pDirImpl->m_pDirectoryPath->buffer[nLen - 1] != L'\\' ) in osl_openFileDirectory() 777 sal_Int32 nLen = rtl_uString_getLength( strSysPath ); in osl_createDirectory() local [all …]
|
/trunk/main/starmath/source/ |
H A D | dialog.cxx | 1154 aFont.SetSize(Size(0, nLen - (nLen / 3))); in Paint() 1164 DrawText(Point((nIV % nColumns) * nLen + (nLen - aSize.Width()) / 2, in Paint() 1165 (nIV / nColumns) * nLen + (nLen - aSize.Height()) / 2), in Paint() 1173 Size(nLen, nLen))); in Paint() 1186 long nPos = (rMEvt.GetPosPixel().Y() / nLen) * nColumns + (rMEvt.GetPosPixel().X() / nLen) + in MouseButtonDown() 1263 aOutputSize.Width() = nColumns * nLen; in SmShowSymbolSet() 1264 aOutputSize.Height() = nRows * nLen; in SmShowSymbolSet() 1304 ((nSelectSymbol - v) / nColumns) * nLen), in SelectSymbol() 1305 Size(nLen, nLen))); in SelectSymbol() 1315 ((nSelectSymbol - v) / nColumns) * nLen), in SelectSymbol() [all …]
|
/trunk/main/connectivity/source/drivers/adabas/ |
H A D | BIndexes.cxx | 53 sal_Int32 nLen = _rName.indexOf('.'); in createObject() local 54 if(nLen != -1) in createObject() 56 aQualifier = _rName.copy(0,nLen); in createObject() 57 aName = _rName.copy(nLen+1); in createObject() 165 sal_Int32 nLen = _sElementName.indexOf('.'); in dropObject() local 166 aSchema = _sElementName.copy(0,nLen); in dropObject() 167 aName = _sElementName.copy(nLen+1); in dropObject()
|
/trunk/main/sw/source/core/txtnode/ |
H A D | fntcap.cxx | 69 rString( rOrigText ), nIdx( 0 ), nLen( 0 ) {}; in SwCapitalInfo() 72 xub_StrLen nLen; member in SwCapitalInfo 89 xub_StrLen nLen, in lcl_CalcCaseMap() argument 93 const xub_StrLen nEnd = nOfst + nLen; in lcl_CalcCaseMap() 116 return nOfst + nLen; in lcl_CalcCaseMap() 245 if ( GetCapInf()->nLen != rInf.GetLen() ) in Do() 249 GetCapInf()->nLen, nBreak ); in Do() 265 xub_StrLen *pExtra, const xub_StrLen nIdx, const xub_StrLen nLen ) in GetCapitalBreak() argument 677 aCapInf.nLen = nPos - nOldPos; in DoOnCapitals() 742 aCapInf.nLen = nTmp - nOldPos; in DoOnCapitals() [all …]
|
/trunk/main/editeng/source/uno/ |
H A D | unoedhlp.cxx | 224 sal_uInt32 nLen = rEE.GetTextLen( nParaIdx ); in GetAttributeRun() local 225 if ( nLen ) in GetAttributeRun() 228 GetAttributeRun( nStartIdx, nEndIdx, rEE, nParaIdx, sal_uInt16(nLen), sal_False ); in GetAttributeRun() 229 …SfxItemSet aSet = rEE.GetAttribs( nParaIdx, sal_uInt16(nLen-1), sal_uInt16(nLen), GETATTRIBS_CHARA… in GetAttributeRun() 248 sal_uInt32 nLen = rEE.GetTextLen( nParaIdx ); in GetAttributeRun() local 249 if ( nLen ) in GetAttributeRun() 258 if ( aEndPos.nIndex != nLen ) in GetAttributeRun()
|
/trunk/main/autodoc/source/parser/cpp/ |
H A D | cx_c_pp.cxx | 120 uintt nLen; in ReadCharChain() local 130 for ( nLen = strlen(cBuf); in ReadCharChain() 131 nLen > 0 AND cBuf[nLen-1] < 33; in ReadCharChain() 132 --nLen ) in ReadCharChain() 134 cBuf[nLen] = '\0'; in ReadCharChain()
|
/trunk/main/svx/source/xoutdev/ |
H A D | xtabgrdt.cxx | 130 xub_StrLen nLen; in Create() local 133 nLen = aStr.Len() - 1; in Create() 135 aStr.SetChar(nLen, sal_Unicode('2')); in Create() 137 aStr.SetChar(nLen, sal_Unicode('3')); in Create() 139 aStr.SetChar(nLen, sal_Unicode('4')); in Create() 141 aStr.SetChar(nLen, sal_Unicode('5')); in Create() 143 aStr.SetChar(nLen, sal_Unicode('6')); in Create()
|
/trunk/main/svtools/source/svhtml/ |
H A D | parhtml.cxx | 1561 nPos++, nLen++; in GetOptions() 1566 nPos++, nLen++; in GetOptions() 1578 nPos++, nLen++; in GetOptions() 1581 nPos++, nLen++; in GetOptions() 1604 nPos++, nLen++; in GetOptions() 1616 nPos++, nLen++; in GetOptions() 1635 if( nLen ) in GetOptions() 1950 xub_StrLen nLen; in IsHTMLFormat() local 1951 for( nLen = 2; in IsHTMLFormat() 1952 pHeader[nLen] != 0 || pHeader[nLen+1] != 0; in IsHTMLFormat() [all …]
|