diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-08-18 16:57:11 -0400 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-08-19 01:28:24 -0500 |
commit | 7b33dbb25394a88b8eb2c826d951ce578605e895 (patch) | |
tree | d99485092601a2f21a143049569daee0fd4e8a76 /svx/source/table | |
parent | 23b49f2390b3d551a52caf06496d8aadf1920bf8 (diff) |
svx: Cleanup ASCII art and useless comments
Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71
Reviewed-on: https://gerrit.libreoffice.org/11011
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/accessiblecell.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/accessibletableshape.cxx | 18 | ||||
-rw-r--r-- | svx/source/table/cellcursor.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/cellcursor.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/cellrange.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/cellrange.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/propertyset.cxx | 8 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablecolumn.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablecolumns.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablecolumns.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tabledesign.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablemodel.hxx | 8 | ||||
-rw-r--r-- | svx/source/table/tablerow.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablerow.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablerows.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablerows.hxx | 4 |
18 files changed, 3 insertions, 91 deletions
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx index eafd2e52f468..166f2c3efab8 100644 --- a/svx/source/table/accessiblecell.cxx +++ b/svx/source/table/accessiblecell.cxx @@ -42,10 +42,6 @@ using namespace ::com::sun::star::container; namespace accessibility { - -// AccessibleCell - - AccessibleCell::AccessibleCell( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, const sdr::table::CellRef& rCell, sal_Int32 nIndex, const AccessibleShapeTreeInfo& rShapeTreeInfo ) : AccessibleCellBase( rxParent, AccessibleRole::TABLE_CELL ) , maShapeTreeInfo( rShapeTreeInfo ) diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index e95685093b05..98ee9c62b650 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -61,10 +61,6 @@ struct hash typedef boost::unordered_map< Reference< XCell >, rtl::Reference< AccessibleCell >, hash > AccessibleCellMap; - -// AccessibleTableShapeImpl - - class AccessibleTableShapeImpl : public cppu::WeakImplHelper1< XModifyListener > { public: @@ -305,12 +301,6 @@ void SAL_CALL AccessibleTableShapeImpl::disposing( const EventObject& /*Source*/ { } - -// AccessibleTableShape - - - - AccessibleTableShape::AccessibleTableShape( const AccessibleShapeInfo& rShapeInfo, const AccessibleShapeTreeInfo& rShapeTreeInfo) : AccessibleTableShape_Base(rShapeInfo, rShapeTreeInfo) , mnPreviousSelectionCount(0) @@ -858,8 +848,7 @@ void SAL_CALL AccessibleTableShape::deselectAccessibleChild( sal_Int32 nChildInd } } - -//===== XAccessibleTableSelection ============================================ +// XAccessibleTableSelection sal_Bool SAL_CALL AccessibleTableShape::selectRow( sal_Int32 row ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { @@ -1156,8 +1145,7 @@ void SAL_CALL AccessibleTableHeaderShape::grabFocus (void) throw (RuntimeExcepti { mpTable->grabFocus(); } -//===== XAccessibleTable ============================================ - +// XAccessibleTable sal_Int32 SAL_CALL AccessibleTableHeaderShape::getAccessibleRowCount() throw (RuntimeException, std::exception) { return mbRow ? 1 : mpTable->getAccessibleRowCount(); @@ -1315,7 +1303,7 @@ sal_Int32 SAL_CALL AccessibleTableHeaderShape::getAccessibleColumn( sal_Int32 nC return mpTable->getAccessibleColumn( nChildIndex ); } -//===== XAccessibleTableSelection ============================================ +// XAccessibleTableSelection sal_Bool SAL_CALL AccessibleTableHeaderShape::selectRow( sal_Int32 row ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { diff --git a/svx/source/table/cellcursor.cxx b/svx/source/table/cellcursor.cxx index 54729906bccf..830a88201c80 100644 --- a/svx/source/table/cellcursor.cxx +++ b/svx/source/table/cellcursor.cxx @@ -38,10 +38,6 @@ using namespace ::com::sun::star::table; namespace sdr { namespace table { - -// CellCursor - - CellCursor::CellCursor( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) : CellCursorBase( xTable, nLeft, nTop, nRight, nBottom ) { diff --git a/svx/source/table/cellcursor.hxx b/svx/source/table/cellcursor.hxx index bdeee58c3a1b..dc0b5e482a70 100644 --- a/svx/source/table/cellcursor.hxx +++ b/svx/source/table/cellcursor.hxx @@ -31,10 +31,6 @@ namespace sdr { namespace table { struct CellPos; - -// CellCursor - - typedef ::cppu::ImplInheritanceHelper2< CellRange, ::com::sun::star::table::XCellCursor, ::com::sun::star::table::XMergeableCellRange > CellCursorBase; class CellCursor : public CellCursorBase diff --git a/svx/source/table/cellrange.cxx b/svx/source/table/cellrange.cxx index 3615b366d676..f0adfa3f8db1 100644 --- a/svx/source/table/cellrange.cxx +++ b/svx/source/table/cellrange.cxx @@ -31,10 +31,6 @@ using namespace ::com::sun::star::table; namespace sdr { namespace table { - -// CellRange - - CellRange::CellRange( const TableModelRef & xTable, sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom ) : mxTable( xTable ) , mnLeft(nLeft) diff --git a/svx/source/table/cellrange.hxx b/svx/source/table/cellrange.hxx index 8284178c4ff4..96c1dbb221f4 100644 --- a/svx/source/table/cellrange.hxx +++ b/svx/source/table/cellrange.hxx @@ -29,10 +29,6 @@ namespace sdr { namespace table { - -// CellRange - - class CellRange : public ::cppu::WeakAggImplHelper1< ::com::sun::star::table::XCellRange >, public ICellRange { public: diff --git a/svx/source/table/propertyset.cxx b/svx/source/table/propertyset.cxx index a27ee47805da..db14b3ae7c6b 100644 --- a/svx/source/table/propertyset.cxx +++ b/svx/source/table/propertyset.cxx @@ -26,10 +26,6 @@ using namespace ::com::sun::star::lang; namespace sdr { namespace table { - -// FastPropertySetInfo - - FastPropertySetInfo::FastPropertySetInfo( const PropertyVector& rProps ) { addProperties( rProps ); @@ -101,10 +97,6 @@ sal_Bool SAL_CALL FastPropertySetInfo::hasPropertyByName( const OUString& aName return hasProperty( aName ) != 0 ? sal_True : sal_False; } - -// FastPropertySet - - FastPropertySet::FastPropertySet( const rtl::Reference< FastPropertySetInfo >& xInfo ) : mxInfo( xInfo ) { diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 9009414e1821..976b4c84b967 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -156,10 +156,6 @@ public: Rectangle maLogicRect; }; - -// TableStyleSettings - - TableStyleSettings::TableStyleSettings() : mbUseFirstRow(true) , mbUseLastRow(false) diff --git a/svx/source/table/tablecolumn.hxx b/svx/source/table/tablecolumn.hxx index 2f9223f5807e..580f19165923 100644 --- a/svx/source/table/tablecolumn.hxx +++ b/svx/source/table/tablecolumn.hxx @@ -31,10 +31,6 @@ namespace sdr { namespace table { - -// TableColumn - - typedef ::cppu::ImplInheritanceHelper2< FastPropertySet, ::com::sun::star::table::XCellRange, ::com::sun::star::container::XNamed > TableColumnBase; class TableColumn : public TableColumnBase diff --git a/svx/source/table/tablecolumns.cxx b/svx/source/table/tablecolumns.cxx index 1bc95e58dba7..0b6863281357 100644 --- a/svx/source/table/tablecolumns.cxx +++ b/svx/source/table/tablecolumns.cxx @@ -34,10 +34,6 @@ using namespace ::com::sun::star::table; namespace sdr { namespace table { - -// TableColumns - - TableColumns::TableColumns( const TableModelRef& xTableModel ) : mxTableModel( xTableModel ) { diff --git a/svx/source/table/tablecolumns.hxx b/svx/source/table/tablecolumns.hxx index 1ccf109e4223..e940cb6a7d7b 100644 --- a/svx/source/table/tablecolumns.hxx +++ b/svx/source/table/tablecolumns.hxx @@ -29,10 +29,6 @@ namespace sdr { namespace table { - -// TableColumns - - class TableColumns : public ::cppu::WeakAggImplHelper1< ::com::sun::star::table::XTableColumns > { public: diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 707496679062..32e551474592 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -80,10 +80,6 @@ using namespace ::com::sun::star::style; namespace sdr { namespace table { - -// class SvxTableControllerModifyListener - - class SvxTableControllerModifyListener : public ::cppu::WeakImplHelper1< ::com::sun::star::util::XModifyListener > { public: diff --git a/svx/source/table/tabledesign.cxx b/svx/source/table/tabledesign.cxx index 5f132c375ed4..e8a23022ed23 100644 --- a/svx/source/table/tabledesign.cxx +++ b/svx/source/table/tabledesign.cxx @@ -178,10 +178,6 @@ public: TableDesignStyleVector maDesigns; }; - -// TableDesignStyle - - TableDesignStyle::TableDesignStyle() : TableDesignStyleBase(m_aMutex) { diff --git a/svx/source/table/tablemodel.hxx b/svx/source/table/tablemodel.hxx index 24c004554fa0..df13cd19abbc 100644 --- a/svx/source/table/tablemodel.hxx +++ b/svx/source/table/tablemodel.hxx @@ -36,10 +36,6 @@ namespace sdr { namespace table { class SdrTableObj; - -// ICellRange - - /** base class for each object implementing an XCellRange */ class ICellRange { @@ -54,10 +50,6 @@ protected: ~ICellRange() {} }; - -// TableModel - - typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::table::XTable, ::com::sun::star::util::XBroadcaster > TableModelBase; class TableModel : public TableModelBase, diff --git a/svx/source/table/tablerow.cxx b/svx/source/table/tablerow.cxx index d7449baa703f..ed1e93872d24 100644 --- a/svx/source/table/tablerow.cxx +++ b/svx/source/table/tablerow.cxx @@ -43,10 +43,6 @@ const sal_Int32 Property_OptimalHeight = 1; const sal_Int32 Property_IsVisible = 2; const sal_Int32 Property_IsStartOfNewPage = 3; - -// TableRow - - TableRow::TableRow( const TableModelRef& xTableModel, sal_Int32 nRow, sal_Int32 nColumns ) : TableRowBase( getStaticPropertySetInfo() ) , mxTableModel( xTableModel ) diff --git a/svx/source/table/tablerow.hxx b/svx/source/table/tablerow.hxx index 0d88268879f4..46198861818e 100644 --- a/svx/source/table/tablerow.hxx +++ b/svx/source/table/tablerow.hxx @@ -31,10 +31,6 @@ namespace sdr { namespace table { - -// TableRow - - typedef ::cppu::ImplInheritanceHelper2< FastPropertySet, ::com::sun::star::table::XCellRange, ::com::sun::star::container::XNamed > TableRowBase; class TableRow : public TableRowBase diff --git a/svx/source/table/tablerows.cxx b/svx/source/table/tablerows.cxx index 4e2817f92ec0..bfaecd7d78d3 100644 --- a/svx/source/table/tablerows.cxx +++ b/svx/source/table/tablerows.cxx @@ -35,10 +35,6 @@ using namespace ::com::sun::star::table; namespace sdr { namespace table { - -// TableRows - - TableRows::TableRows( const TableModelRef& xTableModel ) : mxTableModel( xTableModel ) { diff --git a/svx/source/table/tablerows.hxx b/svx/source/table/tablerows.hxx index e8f5cff69517..bf681a53a1fb 100644 --- a/svx/source/table/tablerows.hxx +++ b/svx/source/table/tablerows.hxx @@ -29,10 +29,6 @@ namespace sdr { namespace table { - -// TableRows - - class TableRows : public ::cppu::WeakAggImplHelper1< ::com::sun::star::table::XTableRows > { public: |