diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-11 21:19:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-11 21:41:57 +0100 |
commit | d2a1c2d4cfa51b6ee8a7f38baa258633fae9ec6d (patch) | |
tree | ab712bc1a814bfc15def9990df0896436f346628 /lotuswordpro/source/filter/lwpchangemgr.cxx | |
parent | 538dbe8245fc4644e1868a7df2ba788bcd08caf4 (diff) |
fix what there is to fix
Diffstat (limited to 'lotuswordpro/source/filter/lwpchangemgr.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpchangemgr.cxx | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx index 7afd992fda65..9e592b0dc8a4 100644 --- a/lotuswordpro/source/filter/lwpchangemgr.cxx +++ b/lotuswordpro/source/filter/lwpchangemgr.cxx @@ -229,45 +229,7 @@ void LwpChangeMgr::ConvertFribContent(XFContentContainer* pCont, LwpFrib* pFrib) } } break; -/* case FRIB_TAG_SECTION: - { - delete pXFPara; - LwpFribSection* pSectionFrib = static_cast<LwpFribSection*>(pFrib); - pSectionFrib->ParseSection(); - } - break; - case FRIB_TAG_PAGEBREAK: - { - LwpFribPageBreak* pPageBreak = static_cast<LwpFribPageBreak*>(pFrib); - LwpPageLayout* pLayout = static_cast<LwpPageLayout*>(pPageBreak->GetLayout()->obj()); - if(pLayout) - { - pPageBreak->ParseLayout(); - } - else - { - if (pPageBreak->IsLastFrib() == sal_True) - { - pXFPara->SetStyleName( pPageBreak->GetStyleName() ); - } - else - { - //parse pagebreak - XFParagraph *pNewPara = new XFParagraph(); - pNewPara->SetStyleName(pFrib->GetStyleName()); - pPara->AddXFContent(pNewPara); - } - } - } - break; - case FRIB_TAG_COLBREAK: - { - XFParagraph *pNewPara = new XFParagraph(); - pNewPara->SetStyleName(pFrib->GetStyleName()); - pPara->AddXFContent(pNewPara); - } - break; -*/ case FRIB_TAG_LINEBREAK: + case FRIB_TAG_LINEBREAK: { XFLineBreak *pLineBreak = new XFLineBreak(); pXFPara->Add(pLineBreak); |