summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpobjhdr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-23 16:03:34 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 08:14:15 +0200
commitd7a4135b072a693cb5ebf94c250d34d5beb741e3 (patch)
treee60124a8e158f9d579ee707a53352047f16c4685 /lotuswordpro/source/filter/lwpobjhdr.cxx
parenttdf#87234 Breeze: Tweak the alignment icons (diff)
downloadcore-d7a4135b072a693cb5ebf94c250d34d5beb741e3.tar.gz
core-d7a4135b072a693cb5ebf94c250d34d5beb741e3.zip
loplugin:constantfunction: lotuswordpro
Change-Id: I16fbba302c7330010f9b4c888f48a868ad6b921e
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjhdr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjhdr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpobjhdr.cxx b/lotuswordpro/source/filter/lwpobjhdr.cxx
index 2010b78e0aa5..f16066a9d76b 100644
--- a/lotuswordpro/source/filter/lwpobjhdr.cxx
+++ b/lotuswordpro/source/filter/lwpobjhdr.cxx
@@ -91,7 +91,7 @@ bool LwpObjectHeader::Read(LwpSvStream &rStrm)
rStrm.ReadUInt32( nRefCount );
rStrm.ReadUInt32( nNextVersionOffset );
- nHeaderSize = sizeof(m_nTag) + m_ID.DiskSize()
+ nHeaderSize = sizeof(m_nTag) + LwpObjectID::DiskSize()
+ sizeof(nVersionID)
+ sizeof(nRefCount)
+ sizeof(nNextVersionOffset)