diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-14 16:31:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:41 +0200 |
commit | 52e69bfbba7220fe4181098102876f0e83ffbee1 (patch) | |
tree | 25965e6854cd5b49c0ead66a508fe1a60090b43a /lotuswordpro/source/filter/lwpfribsection.cxx | |
parent | 602a64939da2df486099eba967aa9148ced1d8d4 (diff) |
loplugin:unusedmethods unused return value in lotuswordpro
Change-Id: Ibed85be78e05dc0e6474d688ef0e0dea401758ac
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribsection.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribsection.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx index a6ad875a39ef..cd6884b59c73 100644 --- a/lotuswordpro/source/filter/lwpfribsection.cxx +++ b/lotuswordpro/source/filter/lwpfribsection.cxx @@ -242,7 +242,7 @@ LwpMasterPage::LwpMasterPage(LwpPara* pPara, LwpPageLayout* pLayout) * @descr: Register master page style for para style and register section style if necessary * */ -bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) +void LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) { //if there is no other frib after current frib, register master page in starting para of next page LwpStory* pStory = nullptr; @@ -253,7 +253,7 @@ bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) { pStory->SetCurrentLayout(m_pLayout); RegisterFillerPageStyle(); - return false; + return; } m_bNewSection = false; @@ -301,7 +301,7 @@ bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) //register tab style; pStory = dynamic_cast<LwpStory*>(m_pPara->GetStoryID().obj().get()); if (!pStory) - return false; + return; pStory->SetTabLayout(m_pLayout); m_pPara->RegisterTabStyle(pOverStyle); @@ -334,7 +334,6 @@ bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib) //} m_SectionStyleName = pXFStyleManager->AddStyle(pSectStyle).m_pStyle->GetStyleName(); } - return false; } /** |