diff options
Diffstat (limited to 'sw/source/ui/index/toxmgr.cxx')
-rw-r--r-- | sw/source/ui/index/toxmgr.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sw/source/ui/index/toxmgr.cxx b/sw/source/ui/index/toxmgr.cxx index 4336fbf2c8fe..62875171feaf 100644 --- a/sw/source/ui/index/toxmgr.cxx +++ b/sw/source/ui/index/toxmgr.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <wrtsh.hxx> #include <shellres.hxx> #include <swwait.hxx> @@ -33,7 +32,6 @@ Description: handle indexes with TOXMgr --------------------------------------------------------------------*/ - SwTOXMgr::SwTOXMgr(SwWrtShell* pShell): pSh(pShell) { @@ -45,13 +43,11 @@ SwTOXMgr::SwTOXMgr(SwWrtShell* pShell): Description: handle current TOXMarks --------------------------------------------------------------------*/ - sal_uInt16 SwTOXMgr::GetTOXMarks() { return pSh->GetCurTOXMarks(aCurMarks); } - SwTOXMark* SwTOXMgr::GetTOXMark(sal_uInt16 nId) { if(!aCurMarks.empty()) @@ -59,7 +55,6 @@ SwTOXMark* SwTOXMgr::GetTOXMark(sal_uInt16 nId) return 0; } - void SwTOXMgr::DeleteTOXMark() { SwTOXMark* pNext = 0; @@ -163,7 +158,6 @@ void SwTOXMgr::InsertTOXMark(const SwTOXMarkDescription& rDesc) Description: Update of TOXMarks --------------------------------------------------------------------*/ - void SwTOXMgr::UpdateTOXMark(const SwTOXMarkDescription& rDesc) { OSL_ENSURE(pCurTOXMark, "no current TOXMark"); @@ -237,12 +231,10 @@ void SwTOXMgr::UpdateTOXMark(const SwTOXMarkDescription& rDesc) } } - /*-------------------------------------------------------------------- Description: determine UserTypeID --------------------------------------------------------------------*/ - sal_uInt16 SwTOXMgr::GetUserTypeID(const OUString& rStr) { sal_uInt16 nSize = pSh->GetTOXTypeCount(TOX_USER); @@ -261,7 +253,6 @@ sal_uInt16 SwTOXMgr::GetUserTypeID(const OUString& rStr) Description: traveling between TOXMarks --------------------------------------------------------------------*/ - void SwTOXMgr::NextTOXMark(sal_Bool bSame) { OSL_ENSURE(pCurTOXMark, "no current TOXMark"); @@ -272,7 +263,6 @@ void SwTOXMgr::NextTOXMark(sal_Bool bSame) } } - void SwTOXMgr::PrevTOXMark(sal_Bool bSame) { OSL_ENSURE(pCurTOXMark, "no current TOXMark"); @@ -425,7 +415,6 @@ sal_Bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc, break; } - OSL_ENSURE(pNewTOX, "no TOXBase created!" ); if(!pNewTOX) return sal_False; @@ -533,6 +522,4 @@ void SwTOXDescription::ApplyTo(SwTOXBase& rTOXBase) } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |