summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-05-31 13:57:11 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-05-31 14:58:04 +0100
commit3f5762b649c43383bc4dd362d86a445205332590 (patch)
treeab0b3a1ef46a5bab0d5ff1a77e915a8b5a615c0b /sw/source/filter/rtf
parent3eeca6d39a0dd957bd9c3c27dae6c942ce0d9df4 (diff)
targetted SAL_N_ELEMENTS revert.
Change-Id: Idd43d44dd7fc4bb33be2de5b855a7741de88ec51
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r--sw/source/filter/rtf/rtffld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/rtf/rtffld.cxx b/sw/source/filter/rtf/rtffld.cxx
index 9750d5258061..5886fcf1bf61 100644
--- a/sw/source/filter/rtf/rtffld.cxx
+++ b/sw/source/filter/rtf/rtffld.cxx
@@ -145,7 +145,7 @@ static RTF_FLD_TYPES _WhichFld( String& rName, String& rNext )
xub_StrLen nTokenStt = rName.Search( sNm );
sNm.ToLowerAscii();
- for (size_t n = 0; n < SAL_N_ELEMENTS(aFldNmArr); ++n)
+ for (size_t n = 0; n < sizeof(aFldNmArr) / sizeof(aFldNmArr[0]); ++n)
{
const sal_Char* pCmp = aFldNmArr[n].pFldNm;
int nLen = *pCmp++;