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 134b0d8d14ec..b5ca84245191 100644 --- a/linguistic/workben/sprophelp.cxx +++ b/linguistic/workben/sprophelp.cxx @@ -188,7 +188,7 @@ static const char *aSP[] = PropertyHelper_Spell::PropertyHelper_Spell( const Reference< XInterface > & rxSource, Reference< XPropertySet > &rxPropSet ) : - PropertyChgHelper ( rxSource, rxPropSet, aSP, SAL_N_ELEMENTS(aSP)) + PropertyChgHelper ( rxSource, rxPropSet, aSP, sizeof(aSP) / sizeof(aSP[0]) ) { SetDefault(); sal_Int32 nLen = GetPropNames().getLength(); |