summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-11 14:05:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-12 13:34:02 +0200
commitcae829e9c1394851fc88829d5197460929c2792a (patch)
tree514d5bdd8fa751636f2498e46952ab3146bae210 /editeng
parent9ba797aa4fe8d48649d8c42b07c13d2371f1c980 (diff)
loplugin:unusedmethods
Change-Id: I42667e8483d2cb4363227344faca3899bd95d424 Reviewed-on: https://gerrit.libreoffice.org/73824 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/outliner/outlvw.cxx33
1 files changed, 0 insertions, 33 deletions
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index 7e6c463836c9..124f43122a99 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -939,39 +939,6 @@ void OutlinerView::ToggleBulletsNumbering(
}
-void OutlinerView::EnableBullets()
-{
- pOwner->UndoActionStart( OLUNDO_DEPTH );
-
- ESelection aSel( pEditView->GetSelection() );
- aSel.Adjust();
-
- const bool bUpdate = pOwner->pEditEngine->GetUpdateMode();
- pOwner->pEditEngine->SetUpdateMode( false );
-
- for ( sal_Int32 nPara = aSel.nStartPara; nPara <= aSel.nEndPara; nPara++ )
- {
- Paragraph* pPara = pOwner->pParaList->GetParagraph( nPara );
- DBG_ASSERT(pPara, "OutlinerView::EnableBullets(), illegal selection?");
-
- if( pPara && (pOwner->GetDepth(nPara) == -1) )
- {
- pOwner->SetDepth( pPara, 0 );
- }
- }
-
- sal_Int32 nParaCount = pOwner->pParaList->GetParagraphCount();
- pOwner->ImplCheckParagraphs( aSel.nStartPara, nParaCount );
-
- sal_Int32 nEndPara = (nParaCount > 0) ? nParaCount-1 : nParaCount;
- pOwner->pEditEngine->QuickMarkInvalid( ESelection( aSel.nStartPara, 0, nEndPara, 0 ) );
-
- pOwner->pEditEngine->SetUpdateMode( bUpdate );
-
- pOwner->UndoActionEnd();
-}
-
-
void OutlinerView::ApplyBulletsNumbering(
const bool bHandleBullets,
const SvxNumRule* pNewNumRule,