From e8939b098b381605d12f08acef42ad0018e0a471 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Oct 2019 16:23:58 +0200 Subject: loplugin:virtualdead unused param in CreateSvxFormatCellsDialog Change-Id: I8455c10d62ae8c3c3e6e543301f8c69a1189456a Reviewed-on: https://gerrit.libreoffice.org/81179 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/table/tablecontroller.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index efec00fdd95f..9c893531b451 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -919,8 +919,7 @@ void SvxTableController::onFormatTable(const SfxRequest& rReq) ScopedVclPtr xDlg( pFact->CreateSvxFormatCellsDialog( rReq.GetFrameWeld(), &aNewAttr, - rModel, - &rTableObj) ); + rModel) ); // Even Cancel Button is returning positive(101) value, if (xDlg->Execute() == RET_OK) -- cgit