summaryrefslogtreecommitdiff
path: root/svx/source/form/fmdmod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmdmod.cxx')
-rw-r--r--svx/source/form/fmdmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmdmod.cxx b/svx/source/form/fmdmod.cxx
index ec6aabfee384..a11a99eaaa1d 100644
--- a/svx/source/form/fmdmod.cxx
+++ b/svx/source/form/fmdmod.cxx
@@ -85,7 +85,7 @@ SAL_WNOUNREACHABLE_CODE_POP
OUString(FM_SUN_COMPONENT_IMAGECONTROL)
};
- static const sal_uInt16 nSvxComponentServiceNameListCount = sizeof(aSvxComponentServiceNameList) / sizeof ( aSvxComponentServiceNameList[0] );
+ static const sal_uInt16 nSvxComponentServiceNameListCount = SAL_N_ELEMENTS(aSvxComponentServiceNameList);
::com::sun::star::uno::Sequence< OUString > aSeq( nSvxComponentServiceNameListCount );
OUString* pStrings = aSeq.getArray();