summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwp9reader.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-17 11:48:35 +0200
committerNoel Grandin <noel@peralex.com>2015-07-17 11:50:06 +0200
commit0f732c41bc4edd7075ff68a81c0ca299e3e913c9 (patch)
tree395e8ebdf457db355dc0dd5ac161311d7eda850d /lotuswordpro/source/filter/lwp9reader.cxx
parente963a8891238efc758306a09debbc93904a5388b (diff)
loplugin:unusedmethods lotuswordpro
Change-Id: I17927d48a75c332f1ddc3853145b14daac17f9c0
Diffstat (limited to 'lotuswordpro/source/filter/lwp9reader.cxx')
-rw-r--r--lotuswordpro/source/filter/lwp9reader.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/lotuswordpro/source/filter/lwp9reader.cxx b/lotuswordpro/source/filter/lwp9reader.cxx
index f23c8fcbd076..991c1e1eb154 100644
--- a/lotuswordpro/source/filter/lwp9reader.cxx
+++ b/lotuswordpro/source/filter/lwp9reader.cxx
@@ -133,31 +133,7 @@ void Lwp9Reader::ReadIndex()
* This function is replaced by the read on demand model
* Reserverd for future use
*/
-void Lwp9Reader::DumpAllObjects()
-{
- sal_Int64 nFileSize = GetFileSize();
- sal_Int64 nFilePos = m_pDocStream->Tell();
- while(true)
- {
- LwpObjectHeader objHdr;
- objHdr.Read(*m_pDocStream);
- nFilePos = m_pDocStream->Tell();
- //Stop when reaching the index object
- if(objHdr.GetTag() >= VO_ROOTLEAFOBJINDEX)
- {
- break;
- }
- //Stop when the length exceeds the file length
- if(nFilePos + objHdr.GetSize() > nFileSize)
- {
- assert(false);
- break;
- }
- m_pObjMgr->CreateObject(objHdr.GetTag(), objHdr);
- m_pDocStream->Seek(nFilePos+objHdr.GetSize());
- }
-}
/**
* @descr Get file size