Lines Matching refs:nPosition
401 …sal_Int32 nPosition = aWorkText.indexOf( SIGN_STARTVARIABLE ); // = first position of "$(" in stri… in SubstVar() local
405 if ( nPosition != STRPOS_NOTFOUND ) in SubstVar()
409 sal_Int32 nEndPosition = aWorkText.indexOf( SIGN_ENDVARIABLE, nPosition ); in SubstVar()
411 nLength = nEndPosition - nPosition + 1; in SubstVar()
415 while ( ( nPosition != STRPOS_NOTFOUND ) && ( nLength > 0 ) ) in SubstVar()
419 OUString aSubString = aWorkText.copy( nPosition, nLength ); in SubstVar()
427 nPosition += nLength; in SubstVar()
431 if ( nPosition + 1 > aWorkText.getLength() ) in SubstVar()
434 nPosition = STRPOS_NOTFOUND; in SubstVar()
440 nPosition = aWorkText.indexOf( SIGN_STARTVARIABLE, nPosition ); in SubstVar()
442 if ( nPosition != STRPOS_NOTFOUND ) in SubstVar()
446 sal_Int32 nEndPosition = aWorkText.indexOf( SIGN_ENDVARIABLE, nPosition ); in SubstVar()
448 nLength = nEndPosition - nPosition + 1; in SubstVar()