summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfattributeoutput.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 15:52:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 20:52:47 +0200
commitfb8b0585d9b821d1981153f27db55b5e9d768e7b (patch)
treec419427f652facbf70fcc44a9fe628083ba87c5f /sw/source/filter/ww8/rtfattributeoutput.cxx
parent3f16306964d5bb81dda3c681bcabbacadf424e7b (diff)
loplugin:checkunusedparams in sw
Change-Id: I8a6b2647375a54720cd9fd765cc51c9ff43c8190 Reviewed-on: https://gerrit.libreoffice.org/40682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.cxx')
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 11f2b7d56a7f..bda4776a8572 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -238,7 +238,7 @@ void RtfAttributeOutput::StartParagraph(ww8::WW8TableNodeInfo::Pointer_t pTextNo
StartTableRow(pDeepInner);
}
- StartTableCell(pDeepInner);
+ StartTableCell();
}
// Again, if depth was incremented, start a new table even if we skipped the first cell.
@@ -257,9 +257,9 @@ void RtfAttributeOutput::StartParagraph(ww8::WW8TableNodeInfo::Pointer_t pTextNo
ww8::WW8TableNodeInfoInner::Pointer_t pInner(pTextNodeInfo->getInnerForDepth(nDepth));
m_bLastTable = (nDepth == pTextNodeInfo->getDepth());
- StartTable(pInner);
+ StartTable();
StartTableRow(pInner);
- StartTableCell(pInner);
+ StartTableCell();
}
m_nTableDepth = nCurrentDepth;
@@ -972,7 +972,7 @@ void RtfAttributeOutput::InitTableHelper(const ww8::WW8TableNodeInfoInner::Point
m_pTableWrt = o3tl::make_unique<SwWriteTable>(pTable, pTable->GetTabLines(), nPageSize, nTableSz, false);
}
-void RtfAttributeOutput::StartTable(const ww8::WW8TableNodeInfoInner::Pointer_t& /*pTableTextNodeInfoInner*/)
+void RtfAttributeOutput::StartTable()
{
// To trigger calling InitTableHelper()
m_pTableWrt.reset(nullptr);
@@ -998,7 +998,7 @@ void RtfAttributeOutput::StartTableRow(const ww8::WW8TableNodeInfoInner::Pointer
m_rExport.Strm().WriteCharPtr(m_aRowDefs.makeStringAndClear().getStr());
}
-void RtfAttributeOutput::StartTableCell(const ww8::WW8TableNodeInfoInner::Pointer_t& /*pTableTextNodeInfoInner*/)
+void RtfAttributeOutput::StartTableCell()
{
m_bTableCellOpen = true;
}