summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjid.hxx
diff options
context:
space:
mode:
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();