WaE: fix shadowing post list change

This commit is contained in:
Caolán McNamara 2011-01-26 16:18:05 +00:00
parent b38ee8c8d5
commit 9be6b3dc49

View file

@ -429,9 +429,9 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
{
ByteString aTmpName;
for ( size_t i = 0, n = aInputList.size(); i < n; ++i )
for ( size_t k = 0, n = aInputList.size(); k < n; ++k )
{
pString = aInputList[ i ];
pString = aInputList[ k ];
aTmpName = ::GetTmpFileName();
if( !CallPrePro( aPrePro, *pString, aTmpName, &aCmdLine, bResponse ) )
{
@ -456,8 +456,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
};
};
for ( size_t i = 0, n = aTmpList.size(); i < n; ++i )
unlink( aTmpList[ i ]->GetBuffer() );
for ( size_t k = 0, n = aTmpList.size(); k < n; ++k )
unlink( aTmpList[ k ]->GetBuffer() );
return( bError );
}