diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-28 08:39:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 06:23:00 +0000 |
commit | a45827b2308febc7369db27fb489a6d1389534e1 (patch) | |
tree | 0b697341738010da35bd0a6a6189ef6761e5db0a /lotuswordpro | |
parent | 2387c2a46e15995686d28dccdfd455012072b4cf (diff) |
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwp9reader.cxx | 20 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwp9reader.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpdllist.hxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptblcell.hxx | 29 |
4 files changed, 0 insertions, 56 deletions
diff --git a/lotuswordpro/source/filter/lwp9reader.cxx b/lotuswordpro/source/filter/lwp9reader.cxx index 1cc12348ccf7..c947c60cd8a1 100644 --- a/lotuswordpro/source/filter/lwp9reader.cxx +++ b/lotuswordpro/source/filter/lwp9reader.cxx @@ -129,26 +129,6 @@ void Lwp9Reader::ReadIndex() } /** - * @descr Read all objects - * This function is replaced by the read on demand model - * Reserverd for future use -*/ - - -/** - * @descr Get file size -*/ -sal_Int64 Lwp9Reader::GetFileSize() -{ - sal_Int64 pos = m_pDocStream->Tell(); - m_pDocStream->Seek(0); - - sal_Int64 size = m_pDocStream->Seek( STREAM_SEEK_TO_END); - m_pDocStream->Seek(pos); - return size; -} - -/** * @descr Parse all document content */ void Lwp9Reader::ParseDocument() diff --git a/lotuswordpro/source/filter/lwp9reader.hxx b/lotuswordpro/source/filter/lwp9reader.hxx index ecf175d8e6c0..9cc92bc682da 100644 --- a/lotuswordpro/source/filter/lwp9reader.hxx +++ b/lotuswordpro/source/filter/lwp9reader.hxx @@ -76,7 +76,6 @@ private: LwpObjectFactory* m_pObjMgr; LwpFileHeader m_LwpFileHdr; //LWP7 object protected: - sal_Int64 GetFileSize(); void ReadFileHeader(); void ReadIndex(); void ParseDocument(); diff --git a/lotuswordpro/source/filter/lwpdllist.hxx b/lotuswordpro/source/filter/lwpdllist.hxx index 1c687df4b4b5..05a724ece8b7 100644 --- a/lotuswordpro/source/filter/lwpdllist.hxx +++ b/lotuswordpro/source/filter/lwpdllist.hxx @@ -69,7 +69,6 @@ public: void insert(LwpDLList*, LwpDLList*); void remove(); LwpDLList* GetNext(); - LwpDLList* GetPrevious(); void SetNext(LwpDLList*); void SetPrevious(LwpDLList*); private: @@ -87,11 +86,6 @@ inline void LwpDLList::SetNext(LwpDLList* Next) m_pNext = Next; } -inline LwpDLList* LwpDLList::GetPrevious() -{ - return m_pPrevious; -} - inline void LwpDLList::SetPrevious(LwpDLList* Previous) { m_pPrevious = Previous; diff --git a/lotuswordpro/source/filter/lwptblcell.hxx b/lotuswordpro/source/filter/lwptblcell.hxx index 73e676f76ac8..744fbd5f621a 100644 --- a/lotuswordpro/source/filter/lwptblcell.hxx +++ b/lotuswordpro/source/filter/lwptblcell.hxx @@ -230,15 +230,10 @@ public: LwpRowColumnQualifier(); ~LwpRowColumnQualifier(){} - inline void SetAbsolute(); - inline void ClearAbsolute(); bool IsAbsolute(); - inline void SetAfter(); - inline void ClearAfter(); bool IsAfter(); - void SetBad(bool Bad); bool IsBad(); void QuickRead(LwpObjectStream *pStrm); @@ -253,30 +248,6 @@ private: sal_uInt8 cFlags; }; -inline void -LwpRowColumnQualifier::SetAbsolute() -{ - cFlags |= REF_ABSOLUTE; -} - -inline void -LwpRowColumnQualifier::ClearAbsolute() -{ - cFlags &= ~REF_ABSOLUTE; -} - -inline void -LwpRowColumnQualifier::SetAfter() -{ - cFlags |= REF_AFTER; -} - -inline void -LwpRowColumnQualifier::ClearAfter() -{ - cFlags &= ~REF_AFTER; -} - inline LwpRowColumnQualifier::LwpRowColumnQualifier() { |