summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-19 15:17:30 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-20 08:13:51 +0000
commit4ff5a5558472beee85eb1234dcc2aa2ed9000f6c (patch)
treeb2a0a83933064b7a22db0e27c0a3d8b7339053de /hwpfilter
parent3179e8f7e6ce550bbe766ed730e68b0374944dd5 (diff)
loplugin:unusedmethods
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e Reviewed-on: https://gerrit.libreoffice.org/21603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/list.hxx39
-rw-r--r--hwpfilter/source/mzstring.cxx23
-rw-r--r--hwpfilter/source/mzstring.h3
3 files changed, 0 insertions, 65 deletions
diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx
index c4371d29a070..11dae5fa39ec 100644
--- a/hwpfilter/source/list.hxx
+++ b/hwpfilter/source/list.hxx
@@ -61,13 +61,6 @@ public:
/// construct list with single element
explicit LinkedListIterator( LinkedList<T>* pList = 0 );
~LinkedListIterator();
-
- // bug-compatible with original LinkedList.h/cxx: Ignore parameter!
- void operator++( int ); /// advance iterator by one step (ignore n !!!)
- void operator--( int ); /// go one step backwards (ignore n !!!)
- void operator++(); /// advance iterator by one step
- void operator--(); /// go one step backwards
-
};
@@ -111,38 +104,6 @@ LinkedListIterator<T>::~LinkedListIterator()
{
}
-template<class T>
-void LinkedListIterator<T>::operator++( int )
-{
- ASSERT( mpList != nullptr );
-
- // bug-compatible with LinkedList.cxx: ignore parameter!
- mnPosition ++;
-}
-
-template<class T>
-void LinkedListIterator<T>::operator--( int )
-{
- ASSERT( mpList != nullptr );
-
- // bug-compatible with LinkedList.cxx: ignore parameter!
- mnPosition --;
-}
-
-template<class T>
-void LinkedListIterator<T>::operator++()
-{
- ASSERT( mpList != nullptr );
- mnPosition ++;
-}
-
-template<class T>
-void LinkedListIterator<T>::operator--()
-{
- ASSERT( mpList != nullptr );
- mnPosition --;
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/hwpfilter/source/mzstring.cxx b/hwpfilter/source/mzstring.cxx
index b9a31ba8419c..31ca947b6dc3 100644
--- a/hwpfilter/source/mzstring.cxx
+++ b/hwpfilter/source/mzstring.cxx
@@ -167,29 +167,6 @@ int MzString::rfind(char ch, int pos)
}
-// += operator
-
-MzString &MzString::operator += (char ch)
-{
- append(&ch, 1);
- return *this;
-}
-
-
-MzString &MzString::operator += (const char *str)
-{
- append(str);
- return *this;
-}
-
-
-MzString &MzString::operator += (MzString const &s)
-{
- append(s);
- return *this;
-}
-
-
// << operator
MzString &MzString::operator << (const char *str)
{
diff --git a/hwpfilter/source/mzstring.h b/hwpfilter/source/mzstring.h
index 5a5d6068c7ce..1de0906d4949 100644
--- a/hwpfilter/source/mzstring.h
+++ b/hwpfilter/source/mzstring.h
@@ -99,9 +99,6 @@ class MzString
MzString &operator = (const char *s);
// Appending
- MzString &operator += (char);
- MzString &operator += (const char *);
- MzString &operator += (MzString const &);
MzString &operator << (const char *);
MzString &operator << (char);