diff options
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/reflread.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx index 1eaf9552e299..f405645f5bab 100644 --- a/registry/source/reflread.cxx +++ b/registry/source/reflread.cxx @@ -597,7 +597,7 @@ public: } } - sal_uInt32 parseIndex(); + sal_uInt32 parseIndex() { return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_FIELD_ENTRY_SIZE));} const sal_Char* getFieldName(sal_uInt16 index); const sal_Char* getFieldType(sal_uInt16 index); @@ -608,10 +608,6 @@ public: const sal_Char* getFieldFileName(sal_uInt16 index); }; -sal_uInt32 FieldList::parseIndex() -{ - return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_FIELD_ENTRY_SIZE)); -} const sal_Char* FieldList::getFieldName(sal_uInt16 index) { @@ -766,7 +762,7 @@ public: } } - sal_uInt32 parseIndex(); + sal_uInt32 parseIndex() { return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_REFERENCE_ENTRY_SIZE));} const sal_Char* getReferenceName(sal_uInt16 index); RTReferenceType getReferenceType(sal_uInt16 index); @@ -774,10 +770,6 @@ public: RTFieldAccess getReferenceAccess(sal_uInt16 index); }; -sal_uInt32 ReferenceList::parseIndex() -{ - return ((m_numOfEntries ? sizeof(sal_uInt16) : 0) + (m_numOfEntries * m_REFERENCE_ENTRY_SIZE)); -} const sal_Char* ReferenceList::getReferenceName(sal_uInt16 index) { |