diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-30 11:08:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-30 19:50:30 +0200 |
commit | 979d58c9a96884e36d1585df0c04c89b1f53fa99 (patch) | |
tree | bce40aad53ac5123a2864da59b8d889b8a51e577 /xmloff | |
parent | 3c1fc723ff622d8a541fa26a3397ca4258332e4a (diff) |
loplugin:unusedfields in toolkit..xmloff
Change-Id: I4964ff97e0a1735dc08c6ad204cae0b08e9ffc2c
Reviewed-on: https://gerrit.libreoffice.org/39406
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/xmlnumi.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx index b1e514721847..5e9429e1232d 100644 --- a/xmloff/source/style/xmlnumi.cxx +++ b/xmloff/source/style/xmlnumi.cxx @@ -1007,7 +1007,6 @@ SvxXMLListStyleContext::SvxXMLListStyleContext( SvXMLImport& rImport, , sIsPhysical( "IsPhysical" ) , sNumberingRules( "NumberingRules" ) , sIsContinuousNumbering( "IsContinuousNumbering" ) -, nLevels( 0 ) , bConsecutive( false ) , bOutline( bOutl ) { @@ -1161,7 +1160,6 @@ void SvxXMLListStyleContext::CreateAndInsertLate( bool bOverwrite ) Any aAny = xPropSet->getPropertyValue( sNumberingRules ); aAny >>= xNumRules; - nLevels = xNumRules->getCount(); if( bOverwrite || bNew ) { FillUnoNumRule(xNumRules); @@ -1190,7 +1188,6 @@ void SvxXMLListStyleContext::CreateAndInsertAuto() const const_cast<SvxXMLListStyleContext *>(this)->xNumRules = CreateNumRule( GetImport().GetModel() ); - const_cast<SvxXMLListStyleContext *>(this)->nLevels = xNumRules->getCount(); FillUnoNumRule(xNumRules); } |