diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:12:35 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-12 16:56:53 +0200 |
commit | 908794d36f489c60835bfa8a17ac6bd9c256c7df (patch) | |
tree | 89348cdd048282c2e37432fe86807c77cfd8b269 /sw | |
parent | cd8a49053664e5b4b17c9b121f55afec0aae3b7b (diff) |
remove unused function
Change-Id: I2caa76105053c57b48d721d1ae04485c94149fcc
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoidx.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 7a43ea1a3df8..951f3678d1d2 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -1342,25 +1342,6 @@ SwXDocumentIndex::getAnchor() throw (uno::RuntimeException) return xRet; } -void lcl_RemoveChildSections(SwSectionFmt& rParentFmt) -{ - SwSections aTmpArr; - SwDoc *const pDoc = rParentFmt.GetDoc(); - const sal_uInt16 nCnt = rParentFmt.GetChildSections(aTmpArr, SORTSECT_POS); - if( nCnt ) - { - for( sal_uInt16 n = 0; n < nCnt; ++n ) - { - if( aTmpArr[n]->GetFmt()->IsInNodesArr() ) - { - SwSectionFmt* pFmt = aTmpArr[n]->GetFmt(); - lcl_RemoveChildSections(*pFmt); - pDoc->DelSectionFmt( pFmt ); - } - } - } -} - void SAL_CALL SwXDocumentIndex::dispose() throw (uno::RuntimeException) { SolarMutexGuard aGuard; |