diff options
author | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-09-29 19:52:02 +0200 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-10-07 15:57:33 +0200 |
commit | 73ec894e0d5aea6f8462c2e42d064c317d4a82ec (patch) | |
tree | e6f51f154f0f5bcc154999340fd3bc7b420ad0f2 /svtools | |
parent | 1d2870f33c0489119f4c01e0fc5c567d6c0d021c (diff) |
cppcheck reduce scope in svtools/.. wmfwr.cxx
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/wmf/wmfwr.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/filter/wmf/wmfwr.cxx b/svtools/source/filter/wmf/wmfwr.cxx index 18c0336740e1..e30e3956330f 100644 --- a/svtools/source/filter/wmf/wmfwr.cxx +++ b/svtools/source/filter/wmf/wmfwr.cxx @@ -1146,16 +1146,15 @@ void WMFWriter::HandleLineInfoPolyPolygons(const LineInfo& rInfo, const basegfx: void WMFWriter::WriteRecords( const GDIMetaFile & rMTF ) { - size_t nA, nACount; MetaAction* pMA; if( bStatus ) { - nACount = rMTF.GetActionSize(); + size_t nACount = rMTF.GetActionSize(); WMFRecord_SetStretchBltMode(); - for( nA=0; nA < nACount; nA++ ) + for( size_t nA = 0; nA < nACount; nA++ ) { pMA = rMTF.GetAction( nA ); |