summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-17 16:08:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-20 20:09:37 +0200
commit8e4b0329dd49d79359d89d7c0209fba4072caeef (patch)
treedb3b6c5195a02675d1ece8786bb3835d4da25dfc /xmloff
parent1db6a4c78f688e8f9af5505e691bcae079c2348f (diff)
loplugin:virtualdead unused param in RedlineAdjustStartNodeCursor
Change-Id: Ic8eaad705b0cf8289035f7eee3ad01439fc24ee7 Reviewed-on: https://gerrit.libreoffice.org/81155 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLIndexTOCContext.cxx4
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx4
-rw-r--r--xmloff/source/text/txtimp.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx
index f505ed3e0e84..1fe7f134193b 100644
--- a/xmloff/source/text/XMLIndexTOCContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCContext.cxx
@@ -228,7 +228,7 @@ void XMLIndexTOCContext::StartElement(
// finally, check for redlines that should start at
// the section start node
if( bValid )
- GetImport().GetTextImport()->RedlineAdjustStartNodeCursor(true);
+ GetImport().GetTextImport()->RedlineAdjustStartNodeCursor();
if (pStyle != nullptr)
{
@@ -269,7 +269,7 @@ void XMLIndexTOCContext::EndElement()
"", true);
// check for Redlines on our end node
- GetImport().GetTextImport()->RedlineAdjustStartNodeCursor(false);
+ GetImport().GetTextImport()->RedlineAdjustStartNodeCursor();
}
}
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index 42e93478dd5d..e7754047aacd 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -212,7 +212,7 @@ void XMLSectionImportContext::StartElement(
// finally, check for redlines that should start at
// the section start node
- rHelper->RedlineAdjustStartNodeCursor(true); // start ???
+ rHelper->RedlineAdjustStartNodeCursor(); // start ???
// xml:id for RDF metadata
GetImport().SetXmlId(xIfc, sXmlId);
@@ -322,7 +322,7 @@ void XMLSectionImportContext::EndElement()
"", true);
// check for redlines to our endnode
- rHelper->RedlineAdjustStartNodeCursor(false);
+ rHelper->RedlineAdjustStartNodeCursor();
}
SvXMLImportContextRef XMLSectionImportContext::CreateChildContext(
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index fc02dff34a05..7dc6152ae6d8 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -2842,7 +2842,7 @@ void XMLTextImportHelper::RedlineSetCursor(
// dummy implementation: do nothing
}
-void XMLTextImportHelper::RedlineAdjustStartNodeCursor(bool)
+void XMLTextImportHelper::RedlineAdjustStartNodeCursor()
{
// dummy implementation: do nothing
}