diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 08:51:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 17:17:36 +0200 |
commit | 53312ca4ee722a6d5ba22d1f578c6de5fbc37207 (patch) | |
tree | 0958ed3af146236305947489425f12f73e9cbcc9 /writerfilter/source/rtftok | |
parent | 4aa60490622cc10f8d3a31489c62a5622d240c83 (diff) |
loplugin:unusedmethods
Change-Id: I52efd8d843d0e4cc7a6adefb0eb95aa50469af38
Reviewed-on: https://gerrit.libreoffice.org/73693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/rtftok')
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.cxx | 5 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.hxx | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx index 6672efc686c9..8fa04faa0d3a 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.cxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx @@ -1843,11 +1843,6 @@ RTFSymbol const aRTFControlWords[] = { }; int nRTFControlWords = SAL_N_ELEMENTS(aRTFControlWords); -bool RTFSymbol::operator<(const RTFSymbol& rOther) const -{ - return std::strcmp(m_sKeyword, rOther.m_sKeyword) < 0; -} - RTFMathSymbol const aRTFMathControlWords[] = { // eKeyword nToken eDestination { RTF_MOMATH, M_TOKEN(oMath), Destination::MOMATH }, diff --git a/writerfilter/source/rtftok/rtfcontrolwords.hxx b/writerfilter/source/rtftok/rtfcontrolwords.hxx index 67c6e5e67fe7..392b30068449 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.hxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.hxx @@ -2016,8 +2016,6 @@ public: RTFKeyword GetIndex() const { return m_nIndex; } int GetDefValue() const { return m_nDefValue; } - - bool operator<(const RTFSymbol& rOther) const; }; extern RTFSymbol const aRTFControlWords[]; |