diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 08:38:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 09:09:32 +0200 |
commit | 18ef0c66f027440c2d34488f83c02fcfb0a1e75e (patch) | |
tree | 28f99dcc1e6bfd09b2e8c58c0d9727f92115a357 /lotuswordpro | |
parent | 183f3791bad09cf95c2eee6e7bb043d7b00546a0 (diff) |
fix windows build
after my commit d7a4135b072a693cb5ebf94c250d34d5beb741e3
"loplugin:constantfunction: lotuswordpro"
it appears that Visual Studio does not support this yet
Change-Id: Ide04fde905e0991e27ec03c3e216fcbd25b1f10b
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpobjid.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpobjid.hxx b/lotuswordpro/source/filter/lwpobjid.hxx index a701ca9a4ee6..33c34299396b 100644 --- a/lotuswordpro/source/filter/lwpobjid.hxx +++ b/lotuswordpro/source/filter/lwpobjid.hxx @@ -88,7 +88,7 @@ private: sal_uInt8 m_nIndex; bool m_bIsCompressed; public: - sal_uInt32 Read( LwpSvStream *pStrm ); + sal_uInt32 Read( LwpSvStream *pStrm ); sal_uInt32 Read( LwpObjectStream *pStrm ); sal_uInt32 ReadIndexed( LwpSvStream* pStrm ); sal_uInt32 ReadIndexed( LwpObjectStream *pStrm ); @@ -97,7 +97,7 @@ public: /** * @descr return the size of object id with format: low(4bytes)+high(2bytes) */ - static sal_uInt32 DiskSize() { return sizeof(m_nLow) + sizeof(m_nHigh); } + static sal_uInt32 DiskSize() { return sizeof(sal_uInt32) + sizeof(sal_uInt16); } // sizeof(m_nLow) + sizeof(m_nHigh) sal_uInt32 DiskSizeIndexed() const; bool IsNull() const; bool IsCompressed(); |