summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 13:11:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-21 06:16:29 +0000
commit1c4243332213ad72ed63476c99693758d8cbcc40 (patch)
tree17ec2704c16465cca81007f5e93e0d2592566191 /sw/source/uibase/index
parent81bbede18f825bc5929d4d446144841ee782e679 (diff)
loplugin:expandablemethodds in sw(part4)
Change-Id: Ifedc5be99775d00f09e03261c6bb446135ac796a Reviewed-on: https://gerrit.libreoffice.org/30096 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/index')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index 042f228c7d36..b82d86da089a 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -255,11 +255,6 @@ void SwTOXMgr::PrevTOXMark(bool bSame)
}
}
-// insert keyword index
-const SwTOXBase* SwTOXMgr::GetCurTOX()
-{
- return pSh->GetCurTOX();
-}
const SwTOXType* SwTOXMgr::GetTOXType(TOXTypes eTyp) const
{
return pSh->GetTOXType(eTyp, 0);
@@ -276,7 +271,7 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
{
SwWait aWait( *pSh->GetView().GetDocShell(), true );
bool bRet = true;
- const SwTOXBase* pCurTOX = ppBase && *ppBase ? *ppBase : GetCurTOX();
+ const SwTOXBase* pCurTOX = ppBase && *ppBase ? *ppBase : pSh->GetCurTOX();
SwTOXBase* pTOX = const_cast<SwTOXBase*>(pCurTOX);
SwTOXBase * pNewTOX = nullptr;