diff options
Diffstat (limited to 'linguistic/workben/sprophelp.cxx')
-rw-r--r-- | linguistic/workben/sprophelp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx index 8ff57ef41601..e957a06742fe 100644 --- a/linguistic/workben/sprophelp.cxx +++ b/linguistic/workben/sprophelp.cxx @@ -174,7 +174,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(); sal_Int32 nLen = GetPropNames().getLength(); |