From ea8c12b8cc03ed259389ac267edd459844634767 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 May 2017 11:32:12 +0200 Subject: loplugin:checkunusedparams in sw(part4) Change-Id: Ia264c192ac02a07bba67a66196899d13b19f83f0 Reviewed-on: https://gerrit.libreoffice.org/37386 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/filter/xml/xmltexti.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/source/filter/xml/xmltexti.cxx') diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx index f49d42a0d4a5..b33e5aec5c8f 100644 --- a/sw/source/filter/xml/xmltexti.cxx +++ b/sw/source/filter/xml/xmltexti.cxx @@ -1001,13 +1001,12 @@ void SwXMLTextImportHelper::RedlineSetCursor( } void SwXMLTextImportHelper::RedlineAdjustStartNodeCursor( - bool bStart) + bool /*bStart*/) { OUString rId = GetOpenRedlineId(); if ((nullptr != pRedlineHelper) && !rId.isEmpty()) { - uno::Reference xTextRange( GetCursor()->getStart() ); - pRedlineHelper->AdjustStartNodeCursor(rId, bStart, xTextRange ); + pRedlineHelper->AdjustStartNodeCursor(rId); ResetOpenRedlineId(); } // else: ignore redline (wasn't added before, or no open redline ID -- cgit v1.2.3