summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpshadow.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-22 16:38:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-22 16:38:54 +0100
commitbd32449e0b8016e9d4e2b14848780f4a641394f2 (patch)
tree48d984fd0ff6652acbfbd5e15b3c03584e6a0a67 /lotuswordpro/source/filter/lwpshadow.hxx
parent79787787d6ca1dd5a0c1aacfc401199771ce2c63 (diff)
fix up endianness of lowhanging QuickReads
Diffstat (limited to 'lotuswordpro/source/filter/lwpshadow.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpshadow.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpshadow.hxx b/lotuswordpro/source/filter/lwpshadow.hxx
index 8481f4f08d25..e42f55a5d03b 100644
--- a/lotuswordpro/source/filter/lwpshadow.hxx
+++ b/lotuswordpro/source/filter/lwpshadow.hxx
@@ -71,8 +71,8 @@ public:
void Read(LwpObjectStream *pStrm)
{
m_aColor.Read(pStrm);
- pStrm->QuickRead(&m_nDirX, sizeof(m_nDirX));
- pStrm->QuickRead(&m_nDirY, sizeof(m_nDirY));
+ m_nDirX = pStrm->QuickReadInt32();
+ m_nDirY = pStrm->QuickReadInt32();
pStrm->SkipExtra();
}