diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribbreaks.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribbreaks.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfribbreaks.cxx b/lotuswordpro/source/filter/lwpfribbreaks.cxx index 9890e1f56473..ce71c21d1f61 100644 --- a/lotuswordpro/source/filter/lwpfribbreaks.cxx +++ b/lotuswordpro/source/filter/lwpfribbreaks.cxx @@ -84,7 +84,7 @@ void LwpFribColumnBreak::RegisterBreakStyle(LwpPara * pPara) //if (static_cast<LwpStory*>(pPara->GetStoryID()->obj()) // ->GetCurrentLayout()->GetNumCols() == 1) //New code - LwpStory* pStory = static_cast<LwpStory*>(pPara->GetStoryID()->obj()); + LwpStory* pStory = static_cast<LwpStory*>(pPara->GetStoryID()->obj().get()); LwpPageLayout* pCurLayout = pStory ? pStory->GetCurrentLayout() : NULL; if( pCurLayout && (pCurLayout->GetNumCols() == 1) ) @@ -129,7 +129,7 @@ void LwpFribPageBreak::RegisterBreakStyle(LwpPara* pPara) XFParaStyle* pBaseStyle = pPara->GetXFParaStyle(); if (pBaseStyle == NULL) return; - LwpPageLayout* pLayout = static_cast<LwpPageLayout*>(m_Layout.obj()); + LwpPageLayout* pLayout = static_cast<LwpPageLayout*>(m_Layout.obj().get()); if(pLayout) { m_pMasterPage = new LwpMasterPage(pPara, pLayout); |