diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-22 21:15:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-22 21:15:05 +0100 |
commit | 580544213509feb73bd2dbc6403c233194da6be0 (patch) | |
tree | 482757ff61e6050a832cee86723f46ad76fa29b7 /lotuswordpro/source/filter/lwpmargins.hxx | |
parent | bd32449e0b8016e9d4e2b14848780f4a641394f2 (diff) |
fix up endianness of higher-hanging QuickReads
Diffstat (limited to 'lotuswordpro/source/filter/lwpmargins.hxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpmargins.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpmargins.hxx b/lotuswordpro/source/filter/lwpmargins.hxx index eb19c5edeb95..6dad47231094 100644 --- a/lotuswordpro/source/filter/lwpmargins.hxx +++ b/lotuswordpro/source/filter/lwpmargins.hxx @@ -72,16 +72,14 @@ public: public: void Read(LwpObjectStream *pStrm) { - pStrm->QuickRead(&m_nLeft, 4); - pStrm->QuickRead(&m_nTop, 4); - pStrm->QuickRead(&m_nRight, 4); - pStrm->QuickRead(&m_nBottom, 4); + m_nLeft = pStrm->QuickReadInt32(); + m_nTop = pStrm->QuickReadInt32(); + m_nRight = pStrm->QuickReadInt32(); + m_nBottom = pStrm->QuickReadInt32(); pStrm->SkipExtra(); } - //add by , 01/26/2004 inline void operator = (const LwpMargins& rOther); inline double GetMarginsValue(const sal_uInt8& nWhichSide); - //end add private: sal_Int32 m_nLeft; sal_Int32 m_nTop; |