Lines Matching refs:aLine
178 ByteString CppDep::IsIncludeStatement( ByteString aLine ) in IsIncludeStatement() argument
181 if ( aLine.Search("/*",0) != STRING_NOTFOUND ) in IsIncludeStatement()
184 fprintf( stderr, "found starting C comment : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
186 aLine.Erase(aLine.Search("/*",0), aLine.Len() - 1); in IsIncludeStatement()
188 fprintf( stderr, "cleaned string : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
191 if ( aLine.Search("//",0) != STRING_NOTFOUND ) in IsIncludeStatement()
194 fprintf( stderr, "found C++ comment : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
196 aLine.Erase(aLine.Search("//",0), aLine.Len() - 1); in IsIncludeStatement()
198 fprintf( stderr, "cleaned string : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
202 aLine.EraseAllChars(' '); in IsIncludeStatement()
203 aLine.EraseAllChars('\t'); in IsIncludeStatement()
205 fprintf( stderr, "now : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
209 aTmpStr = aLine.Copy( 0, 8 ); in IsIncludeStatement()
215 aTmpStr = aLine.Erase( 0, 8 ); in IsIncludeStatement()
216 sal_uInt16 nLen = aLine.Len(); in IsIncludeStatement()
217 aLine.Erase( nLen-1, 1 ); in IsIncludeStatement()
218 aLine.Erase( 0, 1 ); in IsIncludeStatement()
220 fprintf( stderr, "Gotcha : %s\n", aLine.GetBuffer() ); in IsIncludeStatement()
222 aRetStr = aLine; in IsIncludeStatement()