From 0649622956431e0a1955cb80d1175025401ab5e5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Feb 2017 10:15:34 +0200 Subject: loplugin:unusedmethods Change-Id: I52a9f16f3ed543a3c83ca111df70e3f7ae1ef33c Reviewed-on: https://gerrit.libreoffice.org/34508 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- reportdesign/source/ui/report/ReportSection.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'reportdesign/source/ui/report/ReportSection.cxx') diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 57eccdc35233..4dbcf32fa63c 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -268,8 +268,7 @@ void OReportSection::Paste(const uno::Sequence< beans::NamedValue >& _aAllreadyC pNeuObj->SetPage( m_pPage ); pNeuObj->SetModel( m_pModel.get() ); - SdrInsertReason aReason(SdrInsertReasonKind::ViewCall); - m_pPage->InsertObject(pNeuObj, SAL_MAX_SIZE, &aReason); + m_pPage->InsertObject(pNeuObj, SAL_MAX_SIZE); Rectangle aRet(VCLPoint((*pCopiesIter)->getPosition()),VCLSize((*pCopiesIter)->getSize())); aRet.setHeight(aRet.getHeight() + 1); -- cgit