summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-26 16:18:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-26 16:18:05 +0000
commit9be6b3dc4994c9d9656d15df086158f75236535d (patch)
tree4a0db3666b331539d2536c618b8ad6bf7fe8a5cb /rsc
parentb38ee8c8d5bb10ade41d5ee4050ec4fda12fcbd2 (diff)
WaE: fix shadowing post list change
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/prj/start.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index ac3de52422fa..f95024fcd465 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -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 );
}