diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-03 21:40:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 09:00:05 +0100 |
commit | 04723baf6e87fb8d3c097f41529e388bf48df43c (patch) | |
tree | b9f02835a5fbe5884bce911ae80f9a08686729de /editeng | |
parent | f1d4ce6ea51574a0f0a80c4c9ed2ddbc356fbec0 (diff) |
callcatcher: various unused methods
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/editeng.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 40 |
2 files changed, 0 insertions, 44 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx index 5ab7c23f4866..0db0464c5506 100644 --- a/editeng/inc/editeng/editeng.hxx +++ b/editeng/inc/editeng/editeng.hxx @@ -227,10 +227,6 @@ public: String GetWord( sal_uInt16 nPara, xub_StrLen nIndex ); ESelection GetWord( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection WordLeft( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection WordRight( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection CursorLeft( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const; - ESelection CursorRight( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const; ESelection SelectSentence( const ESelection& rCurSel ) const; void Clear(); diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 97cfc74fd1e8..5d745c0d1e70 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -751,46 +751,6 @@ ESelection EditEngine::GetWord( const ESelection& rSelection, sal_uInt16 nWordTy return pE->pImpEditEngine->CreateESel( aSel ); } -ESelection EditEngine::WordLeft( const ESelection& rSelection, sal_uInt16 nWordType ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->WordLeft( aSel.Min(), nWordType ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::WordRight( const ESelection& rSelection, sal_uInt16 nWordType ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->WordRight( aSel.Max(), nWordType ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::CursorLeft( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->CursorLeft( aSel.Min(), nCharacterIteratorMode ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::CursorRight( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->CursorRight( aSel.Max(), nCharacterIteratorMode ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - ESelection EditEngine::SelectSentence( const ESelection& rCurSel ) const { EditEngine* pE = (EditEngine*)this; |