diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:24:35 +0200 |
commit | 1cb4a7554a21952a323f3e2bbf533b005daf4d00 (patch) | |
tree | c55ed5741d6c0fc6172320f768b4a6b012ec8372 /desktop/source/migration | |
parent | 85380260003dd481b97436adb14daf08ffd897c3 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I897ebb00ce427a00f1d9b0c199d465bb0ac80309
Diffstat (limited to 'desktop/source/migration')
-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; |