summaryrefslogtreecommitdiff
path: root/vcl/source/window/split.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /vcl/source/window/split.cxx
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (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 'vcl/source/window/split.cxx')
-rw-r--r--vcl/source/window/split.cxx58
1 files changed, 29 insertions, 29 deletions
diff --git a/vcl/source/window/split.cxx b/vcl/source/window/split.cxx
index 5b2480e50747..7fff5407523c 100644
--- a/vcl/source/window/split.cxx
+++ b/vcl/source/window/split.cxx
@@ -64,7 +64,7 @@ void Splitter::ImplInitSplitterData()
mnKeyboardStepSize = SPLITTER_DEFAULTSTEPSIZE;
}
-// -----------------------------------------------------------------------
+
// Should only be called from a ImplInit method for initialization or
// after checking bNew is different from the current mbHorzSplit value.
@@ -90,7 +90,7 @@ void Splitter::ImplInitHorVer(bool bNew)
SetPointer( Pointer( ePointerStyle ) );
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplInit( Window* pParent, WinBits nWinStyle )
{
@@ -109,7 +109,7 @@ void Splitter::ImplInit( Window* pParent, WinBits nWinStyle )
pTList->AddWindow( this );
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplSplitMousePos( Point& rPos )
{
@@ -129,7 +129,7 @@ void Splitter::ImplSplitMousePos( Point& rPos )
}
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplDrawSplitter()
{
@@ -149,7 +149,7 @@ void Splitter::ImplDrawSplitter()
mpRefWin->InvertTracking( mpRefWin->PixelToLogic(aInvRect), SHOWTRACK_SPLIT );
}
-// -----------------------------------------------------------------------
+
Splitter::Splitter( Window* pParent, WinBits nStyle ) :
Window( WINDOW_SPLITTER )
@@ -161,7 +161,7 @@ Splitter::Splitter( Window* pParent, WinBits nStyle ) :
SetFillColor();
}
-// -----------------------------------------------------------------------
+
Splitter::Splitter( Window* pParent, const ResId& rResId ) :
Window( WINDOW_SPLITTER )
@@ -179,7 +179,7 @@ Splitter::Splitter( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
Splitter::~Splitter()
{
@@ -187,7 +187,7 @@ Splitter::~Splitter()
pTList->RemoveWindow( this );
}
-// -----------------------------------------------------------------------
+
void Splitter::SetHorizontal(bool bNew)
{
@@ -197,14 +197,14 @@ void Splitter::SetHorizontal(bool bNew)
}
}
-// -----------------------------------------------------------------------
+
void Splitter::SetKeyboardStepSize( long nStepSize )
{
mnKeyboardStepSize = nStepSize;
}
-// -----------------------------------------------------------------------
+
Splitter* Splitter::ImplFindSibling()
{
@@ -224,7 +224,7 @@ Splitter* Splitter::ImplFindSibling()
return NULL;
}
-// -----------------------------------------------------------------------
+
bool Splitter::ImplSplitterActive()
{
@@ -249,7 +249,7 @@ bool Splitter::ImplSplitterActive()
return bActive;
}
-// -----------------------------------------------------------------------
+
void Splitter::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -280,7 +280,7 @@ void Splitter::MouseButtonDown( const MouseEvent& rMEvt )
StartDrag();
}
-// -----------------------------------------------------------------------
+
void Splitter::Tracking( const TrackingEvent& rTEvt )
{
@@ -356,7 +356,7 @@ void Splitter::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplKbdTracking( KeyCode aKeyCode )
{
@@ -473,21 +473,21 @@ void Splitter::ImplKbdTracking( KeyCode aKeyCode )
}
}
-// -----------------------------------------------------------------------
+
void Splitter::StartSplit()
{
maStartSplitHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Splitter::Split()
{
maSplitHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Splitter::EndSplit()
{
@@ -495,13 +495,13 @@ void Splitter::EndSplit()
maEndSplitHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Splitter::Splitting( Point& /* rSplitPos */ )
{
}
-// -----------------------------------------------------------------------
+
void Splitter::SetDragRectPixel( const Rectangle& rDragRect, Window* _pRefWin )
{
@@ -512,14 +512,14 @@ void Splitter::SetDragRectPixel( const Rectangle& rDragRect, Window* _pRefWin )
mpRefWin = _pRefWin;
}
-// -----------------------------------------------------------------------
+
void Splitter::SetSplitPosPixel( long nNewPos )
{
mnSplitPos = nNewPos;
}
-// -----------------------------------------------------------------------
+
void Splitter::StartDrag()
{
@@ -547,7 +547,7 @@ void Splitter::StartDrag()
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplStartKbdSplitting()
{
@@ -577,7 +577,7 @@ void Splitter::ImplStartKbdSplitting()
mnStartSplitPos = maDragPos.Y();
}
-// -----------------------------------------------------------------------
+
void Splitter::ImplRestoreSplitter()
{
@@ -608,7 +608,7 @@ void Splitter::ImplRestoreSplitter()
}
-// -----------------------------------------------------------------------
+
void Splitter::GetFocus()
{
@@ -618,7 +618,7 @@ void Splitter::GetFocus()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void Splitter::LoseFocus()
{
@@ -631,7 +631,7 @@ void Splitter::LoseFocus()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void Splitter::KeyInput( const KeyEvent& rKEvt )
{
@@ -732,14 +732,14 @@ void Splitter::KeyInput( const KeyEvent& rKEvt )
mbInKeyEvent = 0;
}
-// -----------------------------------------------------------------------
+
bool Splitter::Notify( NotifyEvent& rNEvt )
{
return Window::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -762,7 +762,7 @@ void Splitter::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
void Splitter::Paint( const Rectangle& rPaintRect )
{