summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpusewhen.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/lwpusewhen.hxx
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/lwpusewhen.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpusewhen.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpusewhen.hxx b/lotuswordpro/source/filter/lwpusewhen.hxx
index 0be7f9e70bd1..4d14ef226ebc 100644
--- a/lotuswordpro/source/filter/lwpusewhen.hxx
+++ b/lotuswordpro/source/filter/lwpusewhen.hxx
@@ -111,8 +111,8 @@ private:
inline void LwpUseWhen::Read(LwpObjectStream* pStrm)
{
- pStrm->QuickRead(&m_nFlags, 2);
- pStrm->QuickRead(&m_nUsePage, 2);
+ m_nFlags = pStrm->QuickReaduInt16();
+ m_nUsePage = pStrm->QuickReaduInt16();
pStrm->SkipExtra();
}
inline sal_Bool LwpUseWhen::IsUseOnAllPages()