diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-04 09:10:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-04 09:42:21 +0000 |
commit | b70fbfd9265d46a0bc088ff08b52fd78268a4834 (patch) | |
tree | 7511f25c4c14150940b03e9e1f33931283a50427 /editeng | |
parent | convert zip of makefiles.mk to a patch and skip building some we don't need (diff) | |
download | core-b70fbfd9265d46a0bc088ff08b52fd78268a4834.tar.gz core-b70fbfd9265d46a0bc088ff08b52fd78268a4834.zip |
update unused list
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 14 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 9 | ||||
-rw-r--r-- | editeng/source/editeng/impedit4.cxx | 5 |
4 files changed, 0 insertions, 32 deletions
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 1cf60025dbe4..adf3c8ec90c2 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.hxx @@ -597,7 +597,6 @@ private: EditPaM ConnectContents( sal_uInt16 nLeftNode, sal_Bool bBackward ); void ShowParagraph( sal_uInt16 nParagraph, sal_Bool bShow ); - sal_Bool IsParagraphVisible( sal_uInt16 nParagraph ); EditPaM PageUp( const EditPaM& rPaM, EditView* pView); EditPaM PageDown( const EditPaM& rPaM, EditView* pView); @@ -830,7 +829,6 @@ public: sal_Bool IsInSelectionMode() { return bInSelection; } - void StopSelectionMode(); void IndentBlock( EditView* pView, sal_Bool bRight ); @@ -952,8 +950,6 @@ public: void PutSpellingToSentenceStart( EditView& rEditView ); //applies a changed sentence void ApplyChangedSentence(EditView& rEditView, const ::svx::SpellPortions& rNewPortions, bool bRecheck ); - //deinitialize sentence spelling - void EndSpelling(); //adds one or more portions of text to the SpellPortions depending on language changes void AddPortionIterated( EditView& rEditView, diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 297b06a38720..74d096c81cf3 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3555,20 +3555,6 @@ EditSelection ImpEditEngine::MatchGroup( const EditSelection& rSel ) return aMatchSel; } -void ImpEditEngine::StopSelectionMode() -{ - if ( ( IsInSelectionMode() || aSelEngine.IsInSelection() ) && pActiveView ) - { - pActiveView->pImpEditView->DrawSelection(); - EditSelection aSel( pActiveView->pImpEditView->GetEditSelection() ); - aSel.Min() = aSel.Max(); - pActiveView->pImpEditView->SetEditSelection( aSel ); - pActiveView->ShowCursor(); - aSelEngine.Reset(); - bInSelection = sal_False; - } -} - void ImpEditEngine::SetActiveView( EditView* pView ) { // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 8f059a3c6f1d..83695cf5c12b 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -3806,15 +3806,6 @@ void ImpEditEngine::ShowParagraph( sal_uInt16 nParagraph, sal_Bool bShow ) } } -sal_Bool ImpEditEngine::IsParagraphVisible( sal_uInt16 nParagraph ) -{ - ParaPortion* pPPortion = GetParaPortions().SaveGetObject( nParagraph ); - DBG_ASSERT( pPPortion, "IsParagraphVisible: Paragraph does not exist! "); - if ( pPPortion ) - return pPPortion->IsVisible(); - return sal_False; -} - EditSelection ImpEditEngine::MoveParagraphs( Range aOldPositions, sal_uInt16 nNewPos, EditView* pCurView ) { DBG_ASSERT( GetParaPortions().Count() != 0, "No paragraphs found: MoveParagraphs" ); diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index 80dcedc226cd..27bbcdcf9649 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -1869,11 +1869,6 @@ Reference< XSpellAlternatives > ImpEditEngine::ImpSpell( EditView* pEditView ) return xSpellAlt; } -void ImpEditEngine::EndSpelling() -{ - DELETEZ(pSpellInfo); -} - void ImpEditEngine::StartSpelling(EditView& rEditView, sal_Bool bMultipleDoc) { DBG_ASSERT(!pSpellInfo, "pSpellInfo already set?"); |