diff options
Diffstat (limited to 'sw/source/ui/docvw/srcedtw.cxx')
-rw-r--r-- | sw/source/ui/docvw/srcedtw.cxx | 67 |
1 files changed, 1 insertions, 66 deletions
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx index 816c0933d7a9..96422c769bcd 100644 --- a/sw/source/ui/docvw/srcedtw.cxx +++ b/sw/source/ui/docvw/srcedtw.cxx @@ -211,11 +211,6 @@ static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : Window( pParent, WB_BORDER|WB_CLIPCHILDREN ), @@ -238,9 +233,7 @@ SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : CreateTextEngine(); pSourceViewConfig->AddListener(this); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ + SwSrcEditWindow::~SwSrcEditWindow() { pSourceViewConfig->RemoveListener(this); @@ -260,10 +253,6 @@ SwSrcEditWindow::SwSrcEditWindow( Window* pParent, SwSrcView* pParentView ) : delete pOutWin; } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void SwSrcEditWindow::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -333,10 +322,6 @@ void SwSrcEditWindow::Resize() } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - void TextViewOutWin::DataChanged( const DataChangedEvent& rDCEvt ) { Window::DataChanged( rDCEvt ); @@ -363,11 +348,6 @@ void TextViewOutWin::MouseMove( const MouseEvent &rEvt ) pTextView->MouseMove( rEvt ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::MouseButtonUp( const MouseEvent &rEvt ) { if ( pTextView ) @@ -380,11 +360,6 @@ void TextViewOutWin::MouseButtonUp( const MouseEvent &rEvt ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::MouseButtonDown( const MouseEvent &rEvt ) { GrabFocus(); @@ -392,11 +367,6 @@ void TextViewOutWin::MouseButtonDown( const MouseEvent &rEvt ) pTextView->MouseButtonDown( rEvt ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::Command( const CommandEvent& rCEvt ) { switch(rCEvt.GetCommand()) @@ -425,12 +395,6 @@ void TextViewOutWin::Command( const CommandEvent& rCEvt ) } } - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::KeyInput( const KeyEvent& rKEvt ) { BOOL bDone = FALSE; @@ -469,21 +433,11 @@ void TextViewOutWin::KeyInput( const KeyEvent& rKEvt ) } } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void TextViewOutWin::Paint( const Rectangle& rRect ) { pTextView->Paint( rRect ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::CreateTextEngine() { const Color &rCol = GetSettings().GetStyleSettings().GetWindowColor(); @@ -535,15 +489,6 @@ void SwSrcEditWindow::CreateTextEngine() rBind.Invalidate( SID_TABLE_CELL ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::SetScrollBarRanges() { // Extra-Methode, nicht InitScrollBars, da auch fuer TextEngine-Events. @@ -552,11 +497,6 @@ void SwSrcEditWindow::SetScrollBarRanges() pVScrollbar->SetRange( Range(0, pTextEngine->GetTextHeight()-1) ); } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - void SwSrcEditWindow::InitScrollBars() { SetScrollBarRanges(); @@ -573,11 +513,6 @@ void SwSrcEditWindow::InitScrollBars() } -/*-------------------------------------------------------------------- - Beschreibung: - --------------------------------------------------------------------*/ - - IMPL_LINK(SwSrcEditWindow, ScrollHdl, ScrollBar*, pScroll) { if(pScroll == pVScrollbar) |