summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjid.hxx
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/lwpobjid.hxx
parent8e786be3ad4a64bc4f7378c3100bd4be0415f170 (diff)
loplugin:constantfunction: lotuswordpro
Change-Id: I16fbba302c7330010f9b4c888f48a868ad6b921e
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjid.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjid.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpobjid.hxx b/lotuswordpro/source/filter/lwpobjid.hxx
index bb0f29f0b714..a701ca9a4ee6 100644
--- a/lotuswordpro/source/filter/lwpobjid.hxx
+++ b/lotuswordpro/source/filter/lwpobjid.hxx
@@ -94,7 +94,10 @@ public:
sal_uInt32 ReadIndexed( LwpObjectStream *pStrm );
sal_uInt32 ReadCompressed( LwpObjectStream* pObj, LwpObjectID& prev );
- sal_uInt32 DiskSize() const;
+ /**
+ * @descr return the size of object id with format: low(4bytes)+high(2bytes)
+ */
+ static sal_uInt32 DiskSize() { return sizeof(m_nLow) + sizeof(m_nHigh); }
sal_uInt32 DiskSizeIndexed() const;
bool IsNull() const;
bool IsCompressed();