From c774ad610eb828742a3eea050e5a7571ba3b00be Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Mar 2018 13:48:09 +0200 Subject: loplugin:constantparam in svtools..unotools Change-Id: I6e72fbe44dcb65ee5162448e9a72e6437d56b044 Reviewed-on: https://gerrit.libreoffice.org/50948 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/table/cell.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source/table/cell.cxx') diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index b5ba5ddbb8eb..922a58d0a4e9 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -382,7 +382,7 @@ namespace sdr { namespace table { rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj ) { - rtl::Reference< Cell > xCell( new Cell( rTableObj, nullptr ) ); + rtl::Reference< Cell > xCell( new Cell( rTableObj ) ); if( xCell->mxTable.is() ) { Reference< XEventListener > xListener( xCell.get() ); @@ -392,8 +392,8 @@ rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj ) } -Cell::Cell( SdrTableObj& rTableObj, OutlinerParaObject* pOutlinerParaObject ) -: SdrText( rTableObj, pOutlinerParaObject ) +Cell::Cell( SdrTableObj& rTableObj ) +: SdrText( rTableObj, /*pOutlinerParaObject*/nullptr ) , SvxUnoTextBase( ImplGetSvxUnoOutlinerTextCursorSvxPropertySet() ) , mpPropSet( ImplGetSvxCellPropertySet() ) , mpProperties( new sdr::properties::CellProperties( rTableObj, this ) ) -- cgit