loplugin:virtualdead unused param in UnknownAttrToken
Change-Id: Iccf88b919cfc40419271e6f18d101027ef2bb9df Reviewed-on: https://gerrit.libreoffice.org/81218 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -112,9 +112,6 @@ include/editeng/editeng.hxx:478
|
||||
include/editeng/editeng.hxx:503
|
||||
void EditEngine::FieldClicked(const class SvxFieldItem &,int,int,)
|
||||
100
|
||||
include/editeng/svxrtf.hxx:247
|
||||
void SvxRTFParser::UnknownAttrToken(int,class SfxItemSet *,)
|
||||
10
|
||||
include/filter/msfilter/msdffimp.hxx:546
|
||||
_Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const
|
||||
00
|
||||
|
@@ -229,7 +229,7 @@ void EditRTFParser::NextToken( int nToken )
|
||||
}
|
||||
}
|
||||
|
||||
void EditRTFParser::UnknownAttrToken( int nToken, SfxItemSet* )
|
||||
void EditRTFParser::UnknownAttrToken( int nToken )
|
||||
{
|
||||
// for Tokens which are not evaluated in ReadAttr
|
||||
// Actually, only for Calc (RTFTokenHdl), so that RTF_INTBL
|
||||
|
@@ -42,7 +42,7 @@ private:
|
||||
virtual void SetEndPrevPara( EditNodeIdx*& rpNodePos,
|
||||
sal_Int32& rCntPos ) override;
|
||||
|
||||
virtual void UnknownAttrToken( int nToken, SfxItemSet* pSet ) override;
|
||||
virtual void UnknownAttrToken( int nToken ) override;
|
||||
virtual void NextToken( int nToken ) override;
|
||||
virtual void SetAttrInDoc( SvxRTFItemStackType &rSet ) override;
|
||||
virtual bool IsEndPara( EditNodeIdx* pNd, sal_Int32 nCnt ) const override;
|
||||
|
@@ -256,7 +256,7 @@ void SvxRTFParser::ReadAttr( int nToken, SfxItemSet* pSet )
|
||||
case RTF_CS:
|
||||
case RTF_LS:
|
||||
case RTF_ILVL:
|
||||
UnknownAttrToken( nToken, pSet );
|
||||
UnknownAttrToken( nToken );
|
||||
break;
|
||||
|
||||
case RTF_S:
|
||||
@@ -1110,7 +1110,7 @@ ATTR_SETEMPHASIS:
|
||||
case RTF_PGDSCNO:
|
||||
case RTF_PGBRK:
|
||||
case RTF_SOUTLVL:
|
||||
UnknownAttrToken( nToken, pSet );
|
||||
UnknownAttrToken( nToken );
|
||||
// overwrite the closing parenthesis
|
||||
break;
|
||||
|
||||
@@ -1899,7 +1899,7 @@ void SvxRTFParser::CalcValue()
|
||||
}
|
||||
|
||||
// for tokens that are not evaluated in ReadAttr
|
||||
void SvxRTFParser::UnknownAttrToken( int, SfxItemSet* )
|
||||
void SvxRTFParser::UnknownAttrToken( int )
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -244,7 +244,7 @@ protected:
|
||||
sal_Int32& rCntPos )=0;
|
||||
virtual void SetAttrInDoc( SvxRTFItemStackType &rSet );
|
||||
// for Tokens, which are not evaluated in ReadAttr
|
||||
virtual void UnknownAttrToken( int nToken, SfxItemSet* pSet );
|
||||
virtual void UnknownAttrToken( int nToken );
|
||||
|
||||
// if no-one would like to have any twips
|
||||
virtual void CalcValue();
|
||||
|
Reference in New Issue
Block a user