[Libreoffice-commits] .: rsc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jan 26 08:21:23 PST 2011
rsc/source/prj/start.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 03e786115b098503ef7102527ccf1a637a71877d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 26 16:18:05 2011 +0000
WaE: fix shadowing post list change
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index 55a8b55..ab3a666 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 );
}
More information about the Libreoffice-commits
mailing list