diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /forms/source/richtext/richtextviewport.cxx | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source/richtext/richtextviewport.cxx')
-rw-r--r-- | forms/source/richtext/richtextviewport.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx index a3f69c430d86..26077b52d48a 100644 --- a/forms/source/richtext/richtextviewport.cxx +++ b/forms/source/richtext/richtextviewport.cxx @@ -28,7 +28,7 @@ namespace frm //==================================================================== //= RichTextViewPort //==================================================================== - //-------------------------------------------------------------------- + RichTextViewPort::RichTextViewPort( Window* _pParent ) :Control ( _pParent ) ,m_pView(NULL) @@ -36,20 +36,20 @@ namespace frm { } - //-------------------------------------------------------------------- + void RichTextViewPort::setView( EditView& _rView ) { m_pView = &_rView; SetPointer( _rView.GetPointer() ); } - //-------------------------------------------------------------------- + void RichTextViewPort::Paint( const Rectangle& _rRect ) { m_pView->Paint( _rRect ); } - //-------------------------------------------------------------------- + void RichTextViewPort::GetFocus() { Control::GetFocus(); @@ -57,7 +57,7 @@ namespace frm m_pView->ShowCursor( true ); } - //-------------------------------------------------------------------- + void RichTextViewPort::LoseFocus() { m_pView->HideCursor(); @@ -65,7 +65,7 @@ namespace frm Control::LoseFocus(); } - //-------------------------------------------------------------------- + void RichTextViewPort::KeyInput( const KeyEvent& _rKEvt ) { if ( !m_pView->PostKeyEvent( _rKEvt ) ) @@ -74,14 +74,14 @@ namespace frm implInvalidateAttributes(); } - //-------------------------------------------------------------------- + void RichTextViewPort::MouseMove( const MouseEvent& _rMEvt ) { Control::MouseMove( _rMEvt ); m_pView->MouseMove( _rMEvt ); } - //-------------------------------------------------------------------- + void RichTextViewPort::MouseButtonDown( const MouseEvent& _rMEvt ) { Control::MouseButtonDown( _rMEvt ); @@ -89,7 +89,7 @@ namespace frm GrabFocus(); } - //-------------------------------------------------------------------- + void RichTextViewPort::MouseButtonUp( const MouseEvent& _rMEvt ) { Control::MouseButtonUp( _rMEvt ); @@ -97,7 +97,7 @@ namespace frm implInvalidateAttributes(); } - //-------------------------------------------------------------------- + void RichTextViewPort::SetHideInactiveSelection( bool _bHide ) { if ( m_bHideInactiveSelection == _bHide ) @@ -107,7 +107,7 @@ namespace frm m_pView->SetSelectionMode( m_bHideInactiveSelection ? EE_SELMODE_HIDDEN : EE_SELMODE_STD ); } - //-------------------------------------------------------------------- + bool RichTextViewPort::GetHideInactiveSelection() const { return m_bHideInactiveSelection; |