diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-27 12:01:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 10:34:53 +0000 |
commit | cb4787c36a300d6783da28540da737dbad951070 (patch) | |
tree | 49973aa3cabde34908e80bf3afc554f5fa16d2a5 /svx/source/table | |
parent | 4b598ccb3f25fc8bac23ed4434a11f6f6ff44bba (diff) |
loplugin:countusersofdefaultparams in svx
Change-Id: Ic46a0dcce477c8b27aa2d4771c48fd45ad73718c
Reviewed-on: https://gerrit.libreoffice.org/27574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/table')
-rw-r--r-- | svx/source/table/tablelayouter.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablemodel.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablerow.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index 0ab692c2591c..5cb2e648dd65 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -91,8 +91,8 @@ public: void updateCells( ::Rectangle& rRectangle ); - sal_Int32 getHorizontalEdge( int nEdgeY, sal_Int32* pnMin = nullptr, sal_Int32* pnMax = nullptr ); - sal_Int32 getVerticalEdge( int nEdgeX , sal_Int32* pnMin = nullptr, sal_Int32* pnMax = nullptr); + sal_Int32 getHorizontalEdge( int nEdgeY, sal_Int32* pnMin, sal_Int32* pnMax ); + sal_Int32 getVerticalEdge( int nEdgeX , sal_Int32* pnMin, sal_Int32* pnMax); void DistributeColumns( ::Rectangle& rArea, sal_Int32 nFirstCol, sal_Int32 nLastCol ); void DistributeRows( ::Rectangle& rArea, sal_Int32 nFirstRow, sal_Int32 nLastRow ); diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index a63520ca57f4..a66f497b4563 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -619,7 +619,7 @@ void TableModel::insertColumns( sal_Int32 nIndex, sal_Int32 nCount ) sal_Int32 nRows = getRowCountImpl(); while( nRows-- ) - maRows[nRows]->insertColumns( nIndex, nCount ); + maRows[nRows]->insertColumns( nIndex, nCount, nullptr ); ColumnVector aNewColumns(nCount); for( sal_Int32 nOffset = 0; nOffset < nCount; ++nOffset ) diff --git a/svx/source/table/tablerow.hxx b/svx/source/table/tablerow.hxx index a6719c8564b1..b857b66ed170 100644 --- a/svx/source/table/tablerow.hxx +++ b/svx/source/table/tablerow.hxx @@ -45,7 +45,7 @@ public: TableRow& operator=( const TableRow& ); - void insertColumns( sal_Int32 nIndex, sal_Int32 nCount, CellVector::iterator* pIter = nullptr ); + void insertColumns( sal_Int32 nIndex, sal_Int32 nCount, CellVector::iterator* pIter ); void removeColumns( sal_Int32 nIndex, sal_Int32 nCount ); /// Reference to the table model containing this row. const TableModelRef& getModel() const; |