diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-22 16:38:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-22 16:38:54 +0100 |
commit | bd32449e0b8016e9d4e2b14848780f4a641394f2 (patch) | |
tree | 48d984fd0ff6652acbfbd5e15b3c03584e6a0a67 /lotuswordpro/source/filter/lwpbackgroundstuff.cxx | |
parent | can't correctly use auto_ptr on new[] allocated memory (diff) | |
download | core-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.cxx | 2 |
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(); |