summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsdwfileloader.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-06-03 23:28:10 +0200
committerMichael Stahl <mstahl@redhat.com>2016-06-06 14:49:30 +0200
commit3e9aa8b2b29f5222d93ace0e02207fe3bd7d853f (patch)
tree5621a4d074c87c4e675516b358533547675d4d0f /lotuswordpro/source/filter/lwpsdwfileloader.cxx
parent4849f342b6969abb777d91a1fa77ec120f861c48 (diff)
lotuswordpro: fix some endian issues
Change-Id: I224c2d894071d6ec7d0afd5e2780a42b842aa32e
Diffstat (limited to 'lotuswordpro/source/filter/lwpsdwfileloader.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpsdwfileloader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwfileloader.cxx b/lotuswordpro/source/filter/lwpsdwfileloader.cxx
index b30097a96d97..ac2687ad7e9e 100644
--- a/lotuswordpro/source/filter/lwpsdwfileloader.cxx
+++ b/lotuswordpro/source/filter/lwpsdwfileloader.cxx
@@ -84,7 +84,7 @@ void LwpSdwFileLoader::CreateDrawObjects(std::vector< rtl::Reference<XFFrame> >*
if (BinSignature[0] == 'S' && BinSignature[1] == 'M')
{
unsigned short nVersion;
- m_pStream->Read(&nVersion,2);
+ m_pStream->ReadUInt16(nVersion);
m_pStream->Seek(0);
if (nVersion<0x0102)