Lines Matching refs:nPosition
809 …sal_Int32 nPosition = aWorkText.indexOf( m_aVarStart ); // = first position of "$(" in… in impl_substituteVariable() local
814 if ( nPosition != STRPOS_NOTFOUND ) in impl_substituteVariable()
818 sal_Int32 nEndPosition = aWorkText.indexOf( m_aVarEnd, nPosition ); in impl_substituteVariable()
820 nLength = nEndPosition - nPosition + 1; in impl_substituteVariable()
828 while ( ( nPosition != STRPOS_NOTFOUND ) && ( nLength > 3 ) ) // "$(" ")" in impl_substituteVariable()
833 rtl::OUString aSubString = aWorkText.copy( nPosition, nLength ); in impl_substituteVariable()
861 …ixedVarTable[ int( nIndex ) ].bAbsPath && (( nPosition == 0 ) || (( nPosition > 0 ) && ( aWorkText… in impl_substituteVariable()
885 aWorkText = aWorkText.replaceAt( nPosition, nReplaceLength, aReplacement ); in impl_substituteVariable()
891 nPosition += nLength; in impl_substituteVariable()
896 nPosition += aReplacement.getLength(); in impl_substituteVariable()
900 if ( nPosition + 1 > aWorkText.getLength() ) in impl_substituteVariable()
903 nPosition = STRPOS_NOTFOUND; in impl_substituteVariable()
909 nPosition = aWorkText.indexOf( m_aVarStart, nPosition ); in impl_substituteVariable()
911 if ( nPosition != STRPOS_NOTFOUND ) in impl_substituteVariable()
915 sal_Int32 nEndPosition = aWorkText.indexOf( m_aVarEnd, nPosition ); in impl_substituteVariable()
917 nLength = nEndPosition - nPosition + 1; in impl_substituteVariable()
922 nPosition = aWorkText.indexOf( m_aVarStart ); in impl_substituteVariable()
923 if ( nPosition == -1 ) in impl_substituteVariable()
949 sal_Int32 nEndPosition = aWorkText.indexOf( m_aVarEnd, nPosition ); in impl_substituteVariable()
951 nLength = nEndPosition - nPosition + 1; in impl_substituteVariable()