WaE: remove variable scope

This commit is contained in:
Thomas Arnhold
2012-02-21 20:47:54 +01:00
parent a3bf3451a9
commit 41e8fe179f

View File

@@ -862,11 +862,12 @@ void fillAttnum2attnameMap(
::rtl::OString extractSingleTableFromSelect( const OStringVector &vec ) ::rtl::OString extractSingleTableFromSelect( const OStringVector &vec )
{ {
rtl::OString ret; rtl::OString ret;
size_t token = 0;
if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength(
vec[0].pData->buffer, vec[0].pData->length, "select" , 6 , 6 ) ) vec[0].pData->buffer, vec[0].pData->length, "select" , 6 , 6 ) )
{ {
size_t token = 0;
for( token = 1; token < vec.size() ; token ++ ) for( token = 1; token < vec.size() ; token ++ )
{ {
if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( if( 0 == rtl_str_shortenedCompareIgnoreAsciiCase_WithLength(