summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/fmtcol.cxx
diff options
context:
space:
mode:
authorKayo Hamid <revol.code@yahoo.com>2010-10-09 13:49:07 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-09 13:49:07 -0500
commita7be30202460cd143cb3815cf31c71ea4b374843 (patch)
tree001c226e2d014fc66d67fb725032227b98534d71 /sw/source/core/doc/fmtcol.cxx
parent66a65ad0cfb7f0fbcd89342dcce8e07ecf515828 (diff)
Use SAL_N_ELEMENTS macro
Diffstat (limited to 'sw/source/core/doc/fmtcol.cxx')
-rw-r--r--sw/source/core/doc/fmtcol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index d87d2d58d0f6..54c63485404e 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -316,7 +316,7 @@ void SwTxtFmtColl::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
}
- for( int nC = 0, nArrLen = sizeof(aFontSizeArr) / sizeof( aFontSizeArr[0]);
+ for( int nC = 0, nArrLen = SAL_N_ELEMENTS(aFontSizeArr);
nC < nArrLen; ++nC )
{
SvxFontHeightItem *pFSize = aFontSizeArr[ nC ], *pOldFSize;