summaryrefslogtreecommitdiff
path: root/svtools/source/edit
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-13 13:47:15 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-14 08:19:55 +0200
commit1ccbcfddd1e2493401be86328e2030cabccc3ad0 (patch)
treec137a5709dee945c44c3cd55dc055072b541f517 /svtools/source/edit
parentad50fa236bccb0c201156d0a5ee55d7d31ee036d (diff)
callcatcher: remove TextEngine::Foo
Diffstat (limited to 'svtools/source/edit')
-rw-r--r--svtools/source/edit/texteng.cxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx
index 841093908fb8..2b041f23be8a 100644
--- a/svtools/source/edit/texteng.cxx
+++ b/svtools/source/edit/texteng.cxx
@@ -253,12 +253,6 @@ void TextEngine::SetFont( const Font& rFont )
}
}
-void TextEngine::SetDefTab( sal_uInt16 nDefTab )
-{
- mnDefTab = nDefTab;
- // evtl neu setzen?
-}
-
void TextEngine::SetMaxTextLen( sal_uLong nLen )
{
mnMaxTextLen = nLen;
@@ -345,43 +339,6 @@ sal_uInt16 TextEngine::GetTextLen( sal_uLong nPara ) const
return mpDoc->GetNodes().GetObject( nPara )->GetText().Len();
}
-void TextEngine::SetUpdateMode( sal_Bool bUpdate )
-{
- if ( bUpdate != mbUpdate )
- {
- mbUpdate = bUpdate;
- if ( mbUpdate )
- {
- FormatAndUpdate( GetActiveView() );
- if ( GetActiveView() )
- GetActiveView()->ShowCursor();
- }
- }
-}
-
-sal_Bool TextEngine::DoesKeyMoveCursor( const KeyEvent& rKeyEvent )
-{
- sal_Bool bDoesMove = sal_False;
-
- switch ( rKeyEvent.GetKeyCode().GetCode() )
- {
- case KEY_UP:
- case KEY_DOWN:
- case KEY_LEFT:
- case KEY_RIGHT:
- case KEY_HOME:
- case KEY_END:
- case KEY_PAGEUP:
- case KEY_PAGEDOWN:
- {
- if ( !rKeyEvent.GetKeyCode().IsMod2() )
- bDoesMove = sal_True;
- }
- break;
- }
- return bDoesMove;
-}
-
sal_Bool TextEngine::DoesKeyChangeText( const KeyEvent& rKeyEvent )
{
sal_Bool bDoesChange = sal_False;