summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
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/lwpbackgroundstuff.cxx
parentcan't correctly use auto_ptr on new[] allocated memory (diff)
downloadcore-bd32449e0b8016e9d4e2b14848780f4a641394f2.tar.gz
core-bd32449e0b8016e9d4e2b14848780f4a641394f2.zip
fix up endianness of lowhanging QuickReads
Diffstat (limited to 'lotuswordpro/source/filter/lwpbackgroundstuff.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpbackgroundstuff.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
index 4ace8ffc2eba..d26e0b302b67 100644
--- a/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
+++ b/lotuswordpro/source/filter/lwpbackgroundstuff.cxx
@@ -70,7 +70,7 @@
void LwpBackgroundStuff::Read(LwpObjectStream* pStrm)
{
- pStrm->QuickRead(&m_nID, sizeof(m_nID));
+ m_nID = pStrm->QuickReaduInt16();
m_aFillColor.Read(pStrm);
m_aPatternColor.Read(pStrm);
pStrm->SkipExtra();