summaryrefslogtreecommitdiff
path: root/desktop/source/migration/services/wordbookmigration.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/migration/services/wordbookmigration.cxx')
-rw-r--r--desktop/source/migration/services/wordbookmigration.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx
index b2131fd7c63b..1f4c05121f6b 100644
--- a/desktop/source/migration/services/wordbookmigration.cxx
+++ b/desktop/source/migration/services/wordbookmigration.cxx
@@ -167,7 +167,7 @@ bool IsUserWordbook( const OUString& rFile )
{
sal_uInt16 nLen;
pStream->Seek (nSniffPos);
- *pStream >> nLen;
+ pStream->ReadUInt16( nLen );
if ( nLen < MAX_HEADER_LENGTH )
{
pStream->Read(pMagicHeader, nLen);