diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-15 11:06:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-16 09:04:08 +0100 |
commit | 0a9fa3d840da1ba224397fddd6a09852d7121701 (patch) | |
tree | 7712687d35e8504cc9535814458feea8b082a12f /lotuswordpro | |
parent | 2b4d91f5a3738e0b71583769b3a69d6a6211d7ca (diff) |
ditch some junk
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.cxx | 53 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwplayout.hxx | 4 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwprowlayout.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwprowlayout.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpsortopt.cxx | 7 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpsortopt.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpstory.cxx | 24 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpstory.hxx | 1 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 12 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.hxx | 1 |
10 files changed, 0 insertions, 110 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx index 8931a164f7a8..9bbad2fd756b 100644 --- a/lotuswordpro/source/filter/lwplayout.cxx +++ b/lotuswordpro/source/filter/lwplayout.cxx @@ -2078,59 +2078,6 @@ sal_uInt8 LwpPlacableLayout::GetRelativeType() return LwpVirtualLayout::GetRelativeType(); } /** -* @descr: Get relative from where type -* -*/ -sal_uInt8 LwpPlacableLayout::GetRelativeFromWhere() -{ - LwpLayoutRelativity* pLayRel = GetRelativityPiece(); - if(pLayRel) - { - return pLayRel->GetRelGuts()->GetRelativeFromWhere(); - } - return 0; -} -/** -* @descr: Get relative distance -* -*/ -LwpPoint LwpPlacableLayout::GetRelativeDistance() -{ - LwpPoint aPoint; - LwpLayoutRelativity* pLayRel = GetRelativityPiece(); - if(pLayRel) - { - aPoint = pLayRel->GetRelGuts()->GetRelativeDistance(); - } - return aPoint; -} -/** -* @descr: Get tether type -* -*/ -sal_uInt8 LwpPlacableLayout::GetTetherType() -{ - LwpLayoutRelativity* pLayRel = GetRelativityPiece(); - if(pLayRel) - { - return pLayRel->GetRelGuts()->GetTetherType(); - } - return 0; -} -/** -* @descr: Get tether where type -* -*/ -sal_uInt8 LwpPlacableLayout::GetTetherWhere() -{ - LwpLayoutRelativity* pLayRel = GetRelativityPiece(); - if(pLayRel) - { - return pLayRel->GetRelGuts()->GetTetherWhere(); - } - return 0; -} -/** * @descr: Get offset from the baseline * */ diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx index 056cd6874fda..abe582dcf7e6 100644 --- a/lotuswordpro/source/filter/lwplayout.hxx +++ b/lotuswordpro/source/filter/lwplayout.hxx @@ -420,10 +420,6 @@ public: virtual sal_uInt8 GetWrapType(); virtual LwpLayoutRelativity* GetRelativityPiece(); virtual sal_uInt8 GetRelativeType(); - sal_uInt8 GetRelativeFromWhere(); - LwpPoint GetRelativeDistance(); - sal_uInt8 GetTetherType(); - sal_uInt8 GetTetherWhere(); virtual sal_Int32 GetBaseLineOffset(); virtual sal_Bool IsAnchorPage(); virtual sal_Bool IsAnchorFrame(); diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx index 0d6264da06da..219f3582920b 100644 --- a/lotuswordpro/source/filter/lwprowlayout.cxx +++ b/lotuswordpro/source/filter/lwprowlayout.cxx @@ -479,10 +479,4 @@ void LwpRowHeadingLayout::Read() m_pObjStrm->SkipExtra(); } -LwpRowLayout * LwpRowHeadingLayout::GetRowLayout() -{ - LwpRowLayout * pRow = dynamic_cast<LwpRowLayout *>(cRowLayout.obj()); - return pRow; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/source/filter/lwprowlayout.hxx b/lotuswordpro/source/filter/lwprowlayout.hxx index a1693f864bca..54be9f0bad3c 100644 --- a/lotuswordpro/source/filter/lwprowlayout.hxx +++ b/lotuswordpro/source/filter/lwprowlayout.hxx @@ -126,7 +126,6 @@ public: LwpRowHeadingLayout(LwpObjectHeader &objHdr, LwpSvStream* pStrm); virtual ~LwpRowHeadingLayout(); virtual LWP_LAYOUT_TYPE GetLayoutType () { return LWP_ROW_HEADING_LAYOUT;} - LwpRowLayout * GetRowLayout(); protected: void Read(); LwpObjectID cRowLayout; diff --git a/lotuswordpro/source/filter/lwpsortopt.cxx b/lotuswordpro/source/filter/lwpsortopt.cxx index e4ce34da591d..151e24fa66fb 100644 --- a/lotuswordpro/source/filter/lwpsortopt.cxx +++ b/lotuswordpro/source/filter/lwpsortopt.cxx @@ -90,13 +90,6 @@ void LwpSortOption::Read(LwpObjectStream *pStrm) pStrm->SkipExtra(); } /** - * @descr skip the sort option - **/ -void LwpSortOption::Skip(LwpObjectStream *pStrm) -{ - pStrm->SeekRel(DiskSize()); -} -/** * @descr return the disk size **/ sal_uInt16 LwpSortOption::DiskSize() diff --git a/lotuswordpro/source/filter/lwpsortopt.hxx b/lotuswordpro/source/filter/lwpsortopt.hxx index a138ea1fa27a..a1df7d05ea95 100644 --- a/lotuswordpro/source/filter/lwpsortopt.hxx +++ b/lotuswordpro/source/filter/lwpsortopt.hxx @@ -92,7 +92,6 @@ public: ~LwpSortOption(){} public: void Read(LwpObjectStream *pStrm); - void Skip(LwpObjectStream *pStrm); sal_uInt16 DiskSize(); private: LwpSortKey m_Keys[3]; diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx index c9af88c2cfac..5b2e6f62496c 100644 --- a/lotuswordpro/source/filter/lwpstory.cxx +++ b/lotuswordpro/source/filter/lwpstory.cxx @@ -324,30 +324,6 @@ sal_Bool LwpStory::IsNeedSection() return bNewSection; } /************************************************************************** - * @descr: process frame which anchor type is to page, frame or cell - * @param: - * @param: - * @return: -**************************************************************************/ -void LwpStory::XFConvertFrame(XFContentContainer* pCont) -{ - LwpVirtualLayout* pLayout = GetLayout(NULL); - while(pLayout) - { - LwpVirtualLayout* pFrameLayout = dynamic_cast<LwpVirtualLayout*>(pLayout->GetChildHead()->obj()); - while(pFrameLayout) - { - if((pFrameLayout->IsAnchorPage()&&(pFrameLayout->IsFrame()||pFrameLayout->IsSuperTable()||pFrameLayout->IsGroupHead())) - ||(pFrameLayout->IsAnchorFrame())) - { - pFrameLayout->XFConvert(pCont); - } - pFrameLayout = dynamic_cast<LwpVirtualLayout*>(pFrameLayout->GetNext()->obj()); - } - pLayout = GetLayout(pLayout); - } -} -/************************************************************************** * @descr: process frame which anchor type is to cell * @param: * @param: diff --git a/lotuswordpro/source/filter/lwpstory.hxx b/lotuswordpro/source/filter/lwpstory.hxx index 5944979bb2cc..7bbd2b5a2f99 100644 --- a/lotuswordpro/source/filter/lwpstory.hxx +++ b/lotuswordpro/source/filter/lwpstory.hxx @@ -97,7 +97,6 @@ private: protected: void Read(); - void XFConvertFrame(XFContentContainer* pCont); void XFConvertFrameInCell(XFContentContainer* pCont); void XFConvertFrameInFrame(XFContentContainer* pCont); void XFConvertFrameInHeaderFooter(XFContentContainer* pCont); diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index a269a6e61edb..f09272015910 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -406,18 +406,6 @@ void LwpSuperTableLayout::XFConvertFrame(XFContentContainer* pCont, sal_Int32 n } /** - * @short parse frame - * @param - * @return - */ -void LwpSuperTableLayout::ParseFrame(XFFrame * pXFFrame) -{ - if(m_pFrame) - { - m_pFrame->Parse(pXFFrame); - } -} -/** * @short register frame style * @param * @return diff --git a/lotuswordpro/source/filter/lwptablelayout.hxx b/lotuswordpro/source/filter/lwptablelayout.hxx index f38a3683510b..f5a5adf138c9 100644 --- a/lotuswordpro/source/filter/lwptablelayout.hxx +++ b/lotuswordpro/source/filter/lwptablelayout.hxx @@ -179,7 +179,6 @@ public: void XFConvert(XFContentContainer* pCont); // for frame style virtual void XFConvertFrame(XFContentContainer* pCont, sal_Int32 nStart = 0, sal_Int32 nEnd = 0, sal_Bool bAll = sal_False); - void ParseFrame(XFFrame* pXFFrame); void RegisterFrameStyle(); LwpTableHeadingLayout* GetTableHeadingLayout(); protected: |