summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-30 13:08:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 10:19:03 +0200
commit09a4d2faa429cc52d603abc55d99723f39dc9023 (patch)
tree8cba91c63122322a49fb5ca5af490e62d87d0d75 /sw/qa
parent1fe0dc7377300ad961438f5a69bd8bc023cc314d (diff)
loplugin:unusedfields in sw
Change-Id: I807f93757bfddf17f71568f1e3c174229f169f18 Reviewed-on: https://gerrit.libreoffice.org/39409 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index f743fd5a80b9..becae3b83617 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3783,17 +3783,15 @@ void SwUiWriterTest::testTdf87922()
struct PortionItem
{
PortionItem(OUString const & sItemType, sal_Int32 nLength = 0,
- sal_uInt16 nTextType = 0, OUString const & sText = OUString())
+ sal_uInt16 nTextType = 0)
: msItemType(sItemType)
, mnLength(nLength)
, mnTextType(nTextType)
- , msText(sText)
{}
OUString msItemType;
sal_Int32 mnLength;
sal_uInt16 mnTextType;
- OUString msText;
};
class PortionHandler : public SwPortionHandler
@@ -3816,11 +3814,11 @@ class PortionHandler : public SwPortionHandler
mPortionItems.push_back(PortionItem("text", nLength, nType));
}
- virtual void Special(sal_Int32 nLength, const OUString & rText,
+ virtual void Special(sal_Int32 nLength, const OUString & /*rText*/,
sal_uInt16 nType, sal_Int32 /*nHeight*/,
sal_Int32 /*nWidth*/, const SwFont* /*pFont*/) override
{
- mPortionItems.push_back(PortionItem("special", nLength, nType, rText));
+ mPortionItems.push_back(PortionItem("special", nLength, nType));
}
virtual void LineBreak(sal_Int32 /*nWidth*/) override