From b7c82daa28526c566047e158ab2ace522fc442dc Mon Sep 17 00:00:00 2001 From: Kayo Hamid Date: Thu, 14 Oct 2010 21:14:52 +0100 Subject: Switch to use SAL_N_ELEMENTS macro, everywhere --- linguistic/workben/sprophelp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linguistic/workben/sprophelp.cxx') diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx index ced3e205dc96..d2ac04abb714 100644 --- a/linguistic/workben/sprophelp.cxx +++ b/linguistic/workben/sprophelp.cxx @@ -193,7 +193,7 @@ static const char *aSP[] = PropertyHelper_Spell::PropertyHelper_Spell( const Reference< XInterface > & rxSource, Reference< XPropertySet > &rxPropSet ) : - PropertyChgHelper ( rxSource, rxPropSet, aSP, sizeof(aSP) / sizeof(aSP[0]) ) + PropertyChgHelper ( rxSource, rxPropSet, aSP, SAL_N_ELEMENTS(aSP)) { SetDefault(); INT32 nLen = GetPropNames().getLength(); -- cgit