From 6f45913394a931f2053c7b1cba52bdfd79a3093b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Oct 2017 11:24:41 +0200 Subject: loplugin:constantparam in svx Change-Id: Ifaad1083b1561b2bd908e798e06fbff8bbabbe60 Reviewed-on: https://gerrit.libreoffice.org/44048 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- svx/source/table/cell.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/table/cell.cxx') diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index 234b4665bb85..f8a4855c66ad 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -380,9 +380,9 @@ namespace sdr { namespace table { // Cell -rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj, OutlinerParaObject* pOutlinerParaObject ) +rtl::Reference< Cell > Cell::create( SdrTableObj& rTableObj ) { - rtl::Reference< Cell > xCell( new Cell( rTableObj, pOutlinerParaObject ) ); + rtl::Reference< Cell > xCell( new Cell( rTableObj, nullptr ) ); if( xCell->mxTable.is() ) { Reference< XEventListener > xListener( xCell.get() ); -- cgit