summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-20 14:18:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-20 14:18:34 +0100
commitabe204dce71f0f774d1a13e34dc68b39c04a80d2 (patch)
tree0075b02828f1bb7450692724c77ddc6fcad73364 /cosv
parent7feb9bcec25ae9971afccf94f49755e43e23b376 (diff)
remove unused token_count
Diffstat (limited to 'cosv')
-rw-r--r--cosv/inc/cosv/streamstr.hxx2
-rw-r--r--cosv/source/strings/streamstr.cxx7
2 files changed, 0 insertions, 9 deletions
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx
index 30ad929736a6..649c2c1ffc55 100644
--- a/cosv/inc/cosv/streamstr.hxx
+++ b/cosv/inc/cosv/streamstr.hxx
@@ -256,8 +256,6 @@ class StreamStr : public bostream
const_iterator cur() const;
const_iterator end() const;
- size_type token_count(
- char i_cSplit ) const;
String token(
position_type i_nNr, /// Starting with 0.
char i_cSpli ) const;
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx
index b22e05896740..fff564f6fff6 100644
--- a/cosv/source/strings/streamstr.cxx
+++ b/cosv/source/strings/streamstr.cxx
@@ -699,13 +699,6 @@ StreamStr::to_upper( position_type i_nStart,
return *this;
}
-
-StreamStr::size_type
-StreamStr::token_count( char i_cSplit ) const
-{
- return count_chars(dpData, i_cSplit) + 1;
-}
-
String
StreamStr::token( position_type i_nNr,
char i_cSplit ) const