Lines Matching refs:rVar
126 void lcl_SeparateNameAndIndex( const String& rVName, String& rVar, String& rIndex ) in lcl_SeparateNameAndIndex() argument
128 rVar = rVName; in lcl_SeparateNameAndIndex()
130 sal_uInt16 nIndexStart = rVar.Search( '(' ); in lcl_SeparateNameAndIndex()
133 sal_uInt16 nIndexEnd = rVar.Search( ')', nIndexStart ); in lcl_SeparateNameAndIndex()
136 rIndex = rVar.Copy( nIndexStart+1, nIndexEnd-nIndexStart-1 ); in lcl_SeparateNameAndIndex()
137 rVar.Erase( nIndexStart ); in lcl_SeparateNameAndIndex()
138 rVar.EraseTrailingChars(); in lcl_SeparateNameAndIndex()
144 if ( rVar.Len() ) in lcl_SeparateNameAndIndex()
146 sal_uInt16 nLastChar = rVar.Len()-1; in lcl_SeparateNameAndIndex()
147 if ( strchr( cSuffixes, rVar.GetChar( nLastChar ) ) ) in lcl_SeparateNameAndIndex()
148 rVar.Erase( nLastChar, 1 ); in lcl_SeparateNameAndIndex()