summaryrefslogtreecommitdiff
path: root/starmath/source/cfgitem.cxx
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 /starmath/source/cfgitem.cxx
parent3eeca6d39a0dd957bd9c3c27dae6c942ce0d9df4 (diff)
targetted SAL_N_ELEMENTS revert.
Change-Id: Idd43d44dd7fc4bb33be2de5b855a7741de88ec51
Diffstat (limited to 'starmath/source/cfgitem.cxx')
-rw-r--r--starmath/source/cfgitem.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx
index 4870c61ead56..6108bf703bee 100644
--- a/starmath/source/cfgitem.cxx
+++ b/starmath/source/cfgitem.cxx
@@ -181,18 +181,14 @@ static Sequence< OUString > lcl_GetPropertyNames(
return aNames;
}
-
static Sequence< OUString > GetFormatPropertyNames()
{
- sal_uInt16 nCnt = SAL_N_ELEMENTS(aFormatPropNames);
- return lcl_GetPropertyNames( aFormatPropNames, nCnt );
+ return lcl_GetPropertyNames( aFormatPropNames, SAL_N_ELEMENTS( aFormatPropNames ) );
}
-
static Sequence< OUString > GetOtherPropertyNames()
{
- sal_uInt16 nCnt = SAL_N_ELEMENTS(aMathPropNames);
- return lcl_GetPropertyNames( aMathPropNames, nCnt );
+ return lcl_GetPropertyNames( aMathPropNames, SAL_N_ELEMENTS( aMathPropNames ) );
}
/////////////////////////////////////////////////////////////////