diff options
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 5b19b59a0472..00136d7f7db0 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -117,7 +117,7 @@ bool IsUserWordbook( const OUString& rFile ) static std::size_t nVerOOo7Len = sal::static_int_cast< std::size_t >(strlen( pVerOOo7 )); sal_Char pMagicHeader[MAX_HEADER_LENGTH]; pMagicHeader[ nVerOOo7Len ] = '\0'; - if ((pStream->ReadBytes(static_cast<void *>(pMagicHeader), nVerOOo7Len) == nVerOOo7Len)) + if (pStream->ReadBytes(static_cast<void *>(pMagicHeader), nVerOOo7Len) == nVerOOo7Len) { if ( !strcmp(pMagicHeader, pVerOOo7) ) bRet = true; |