summaryrefslogtreecommitdiffstats
path: root/hwpfilter/source
diff options
context:
space:
mode:
Diffstat (limited to 'hwpfilter/source')
-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);