summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-27 10:22:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-28 10:00:01 +0100
commitae25d5d3a333f58723eb9449cd3694cc0b80b3a6 (patch)
treeea2e7aa8375bb5142c7a67bbf4def4cc06269037 /editeng
parent6db4b97ee12805ce993bd7663a0613b4b4f25587 (diff)
loplugin:unusedfields
Change-Id: Iffbb4e7107a0b1ae35c879c193a9ec209addf453 Reviewed-on: https://gerrit.libreoffice.org/64144 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/svxrtf.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index eed91b25158f..78d726b86d51 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -315,7 +315,7 @@ void SvxRTFParser::ReadStyleTable()
break;
case RTF_SBASEDON: pStyle->nBasedOn = sal_uInt16(nTokenValue); break;
- case RTF_SNEXT: pStyle->nNext = sal_uInt16(nTokenValue); break;
+ case RTF_SNEXT: break;
case RTF_OUTLINELEVEL:
case RTF_SOUTLVL: pStyle->nOutlineNo = sal_uInt8(nTokenValue); break;
case RTF_S: nStyleNo = static_cast<short>(nTokenValue);
@@ -925,7 +925,6 @@ SvxRTFStyleType::SvxRTFStyleType( SfxItemPool& rPool, const sal_uInt16* pWhichRa
{
nOutlineNo = sal_uInt8(-1); // not set
nBasedOn = 0;
- nNext = 0;
}