You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pa...@apache.org on 2012/10/03 10:25:10 UTC
svn commit: r1393341 - /incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx
Author: paveljanik
Date: Wed Oct 3 08:25:10 2012
New Revision: 1393341
URL: http://svn.apache.org/viewvc?rev=1393341&view=rev
Log:
Rename local variable that shadows other to prevent compiler warning.
Modified:
incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx
Modified: incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx?rev=1393341&r1=1393340&r2=1393341&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx (original)
+++ incubator/ooo/trunk/main/vcl/source/gdi/gdimtf.cxx Wed Oct 3 08:25:10 2012
@@ -1517,9 +1517,9 @@ Rectangle GDIMetaFile::GetBoundRect( Out
*pHairline = Rectangle();
}
- const sal_uLong nCount(GetActionCount());
+ const sal_uLong nActionCount(GetActionCount());
- for(sal_uLong a(0); a < nCount; a++)
+ for(sal_uLong a(0); a < nActionCount; a++)
{
MetaAction* pAction = GetAction(a);
const sal_uInt16 nActionType = pAction->GetType();