diff options
Diffstat (limited to 'desktop/source/migration/services/wordbookmigration.cxx')
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 6870450fc559..0f4427ce8bde 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -159,7 +159,7 @@ bool IsUserWordbook( const OUString& rFile ) static sal_Size nVerOOo7Len = sal::static_int_cast< sal_Size >(strlen( pVerOOo7 )); sal_Char pMagicHeader[MAX_HEADER_LENGTH]; pMagicHeader[ nVerOOo7Len ] = '\0'; - if ((pStream->Read((void *) pMagicHeader, nVerOOo7Len) == nVerOOo7Len)) + if ((pStream->Read(static_cast<void *>(pMagicHeader), nVerOOo7Len) == nVerOOo7Len)) { if ( !strcmp(pMagicHeader, pVerOOo7) ) bRet = true; |