diff options
Diffstat (limited to 'cosv')
-rw-r--r-- | cosv/inc/cosv/streamstr.hxx | 4 | ||||
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 20 |
2 files changed, 0 insertions, 24 deletions
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx index 649c2c1ffc55..67a69b24791a 100644 --- a/cosv/inc/cosv/streamstr.hxx +++ b/cosv/inc/cosv/streamstr.hxx @@ -212,10 +212,6 @@ class StreamStr : public bostream self & operator_read_line( bstream & i_src ); - void strip_front( - char i_cToRemove ); - void strip_back( - char i_cToRemove ); void strip_front_whitespace(); /// removes space, tab and crlf. void strip_back_whitespace(); void strip_frontback_whitespace(); diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index fff564f6fff6..c1a0d62a0786 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -561,26 +561,6 @@ StreamStr::operator_read_line( bstream & i_src ) } void -StreamStr::strip_front(char i_cToRemove) -{ - const_iterator it = begin(); - for ( ; - it != end() ? *it == i_cToRemove : false; - ++it ) ; - pop_front(it - begin()); -} - -void -StreamStr::strip_back(char i_cToRemove) -{ - const_iterator it = end(); - for ( ; - it != begin() ? *(it-1) == i_cToRemove : false; - --it ) ; - pop_back(end() - it); -} - -void StreamStr::strip_front_whitespace() { const_iterator it = begin(); |