summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 14:25:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 14:25:08 +0100
commit77faf36fbd79edfe360e2b9e5393b3d979a4e0d3 (patch)
tree5871d7e09f312ce0fe0fbec72315a0c2586abda2 /cosv
parentabe204dce71f0f774d1a13e34dc68b39c04a80d2 (diff)
remove unused strip_ methods
Diffstat (limited to 'cosv')
-rw-r--r--cosv/inc/cosv/streamstr.hxx4
-rw-r--r--cosv/source/strings/streamstr.cxx20
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();