summaryrefslogtreecommitdiff
path: root/svtools/source/table/tablegeometry.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 /svtools/source/table/tablegeometry.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 'svtools/source/table/tablegeometry.cxx')
-rw-r--r--svtools/source/table/tablegeometry.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svtools/source/table/tablegeometry.cxx b/svtools/source/table/tablegeometry.cxx
index 98749e567d6d..e47928309fae 100644
--- a/svtools/source/table/tablegeometry.cxx
+++ b/svtools/source/table/tablegeometry.cxx
@@ -29,7 +29,7 @@ namespace svt { namespace table
//==================================================================================================================
//= TableRowGeometry
//==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
TableRowGeometry::TableRowGeometry( TableControl_Impl const & _rControl, Rectangle const & _rBoundaries,
RowPos const _nRow, bool const i_allowVirtualRows )
:TableGeometry( _rControl, _rBoundaries )
@@ -47,7 +47,7 @@ namespace svt { namespace table
}
}
- //------------------------------------------------------------------------------------------------------------------
+
void TableRowGeometry::impl_initRect()
{
if ( ( m_nRowPos >= m_rControl.m_nTopRow ) && impl_isValidRow( m_nRowPos ) )
@@ -59,13 +59,13 @@ namespace svt { namespace table
m_aRect.SetEmpty();
}
- //------------------------------------------------------------------------------------------------------------------
+
bool TableRowGeometry::impl_isValidRow( RowPos const i_row ) const
{
return m_bAllowVirtualRows || ( i_row < m_rControl.m_pModel->getRowCount() );
}
- //------------------------------------------------------------------------------------------------------------------
+
bool TableRowGeometry::moveDown()
{
if ( m_nRowPos == ROW_COL_HEADERS )
@@ -86,7 +86,7 @@ namespace svt { namespace table
//==================================================================================================================
//= TableColumnGeometry
//==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
TableColumnGeometry::TableColumnGeometry( TableControl_Impl const & _rControl, Rectangle const & _rBoundaries,
ColPos const _nCol, bool const i_allowVirtualColumns )
:TableGeometry( _rControl, _rBoundaries )
@@ -104,7 +104,7 @@ namespace svt { namespace table
}
}
- //------------------------------------------------------------------------------------------------------------------
+
void TableColumnGeometry::impl_initRect()
{
ColPos nLeftColumn = m_rControl.m_nLeftColumn;
@@ -121,13 +121,13 @@ namespace svt { namespace table
m_aRect.SetEmpty();
}
- //------------------------------------------------------------------------------------------------------------------
+
bool TableColumnGeometry::impl_isValidColumn( ColPos const i_column ) const
{
return m_bAllowVirtualColumns || ( i_column < ColPos( m_rControl.m_aColumnWidths.size() ) );
}
- //------------------------------------------------------------------------------------------------------------------
+
bool TableColumnGeometry::moveRight()
{
if ( m_nColPos == COL_ROW_HEADERS )