sw/source/filter/ww8/ww8par2.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 8d267cdd48e8b736a81a9e76ea5803e6847d791e
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Thu Mar 24 08:23:39 2016 +0100

    sw: nAnz -> nCount
    
    Change-Id: If6e1fbf74dcdfde4a2406c1662bea71188635830

diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 54066b7..47566bb 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -1547,13 +1547,13 @@ void WW8TabBandDesc::ReadShd(const sal_uInt8* pS )
         memset( pSHDs, 0, nWwCols * sizeof( WW8_SHD ) );
     }
 
-    short nAnz = nLen >> 1;
-    if (nAnz > nWwCols)
-        nAnz = nWwCols;
+    short nCount = nLen >> 1;
+    if (nCount > nWwCols)
+        nCount = nWwCols;
 
     SVBT16 const * pShd;
     int i;
-    for(i=0, pShd = reinterpret_cast<SVBT16 const *>(pS); i<nAnz; i++, pShd++ )
+    for(i=0, pShd = reinterpret_cast<SVBT16 const *>(pS); i<nCount; i++, 
pShd++ )
         pSHDs[i].SetWWValue( *pShd );
 }
 
@@ -1566,12 +1566,12 @@ void WW8TabBandDesc::ReadNewShd(const sal_uInt8* pS, 
bool bVer67)
     if (!pNewSHDs)
         pNewSHDs = new sal_uInt32[nWwCols];
 
-    short nAnz = nLen / 10; //10 bytes each
-    if (nAnz > nWwCols)
-        nAnz = nWwCols;
+    short nCount = nLen / 10; //10 bytes each
+    if (nCount > nWwCols)
+        nCount = nWwCols;
 
     int i=0;
-    while (i < nAnz)
+    while (i < nCount)
         pNewSHDs[i++] = SwWW8ImplReader::ExtractColour(pS, bVer67);
 
     while (i < nWwCols)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to