summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 14:19:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 14:47:26 +0200
commit3f2babb8aa1267649fa1c1903d11b7c0c304cf7c (patch)
tree8f22d7661eaf4a1f1aa17aff6a0e3b37416c671e /editeng
parent5968c5b1f785a54fe28ddbc47abd77d4f40c720e (diff)
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>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
-rw-r--r--editeng/source/editeng/eertfpar.hxx2
-rw-r--r--editeng/source/rtf/rtfitem.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx
index cc1cf2bd3424..dd5043dd5af2 100644
--- a/editeng/source/editeng/eertfpar.cxx
+++ b/editeng/source/editeng/eertfpar.cxx
@@ -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
diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx
index 51f750daa589..963748f94eb6 100644
--- a/editeng/source/editeng/eertfpar.hxx
+++ b/editeng/source/editeng/eertfpar.hxx
@@ -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;
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx
index 775104700941..345c0da1b754 100644
--- a/editeng/source/rtf/rtfitem.cxx
+++ b/editeng/source/rtf/rtfitem.cxx
@@ -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 )
{
}