diff options
Diffstat (limited to 'linguistic/source/grammarchecker.cxx')
-rw-r--r-- | linguistic/source/grammarchecker.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/grammarchecker.cxx b/linguistic/source/grammarchecker.cxx index 4de68ab1f9af..6f4b1c5d3da8 100644 --- a/linguistic/source/grammarchecker.cxx +++ b/linguistic/source/grammarchecker.cxx @@ -249,10 +249,10 @@ sal_Bool SAL_CALL GrammarChecker::supportsService( const OUString& ServiceName ) uno::Sequence< OUString > aSNL = getSupportedServiceNames(); const OUString * pArray = aSNL.getConstArray(); - for( INT32 i = 0; i < aSNL.getLength(); ++i ) + for( sal_Int32 i = 0; i < aSNL.getLength(); ++i ) if( pArray[i] == ServiceName ) - return TRUE; - return FALSE; + return sal_True; + return sal_False; } uno::Sequence< OUString > GrammarChecker::getSupportedServiceNames_Static( ) throw() |