diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | 237ccc1e8d700d0a9a93fb9b56991d2c31b26d05 (patch) | |
tree | dd80f4008d0a255bf16f11fd193b585979b5ac8a /cosv | |
parent | 6c6e8f0278f988cc382e5359d16ce77e74ccfbb2 (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'cosv')
-rw-r--r-- | cosv/source/strings/streamstr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx index a46d4eb5ee41..86c5aa64146e 100644 --- a/cosv/source/strings/streamstr.cxx +++ b/cosv/source/strings/streamstr.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: streamstr.cxx,v $ - * $Revision: 1.14 $ + * $Revision: 1.14.10.1 $ * * This file is part of OpenOffice.org. * @@ -568,7 +568,7 @@ StreamStr::strip_front(char i_cToRemove) const_iterator it = begin(); for ( ; it != end() ? *it == i_cToRemove : false; - ++it ); + ++it ) ; pop_front(it - begin()); } @@ -578,7 +578,7 @@ StreamStr::strip_back(char i_cToRemove) const_iterator it = end(); for ( ; it != begin() ? *(it-1) == i_cToRemove : false; - --it ); + --it ) ; pop_back(end() - it); } @@ -595,7 +595,7 @@ StreamStr::strip_front_whitespace() const_iterator it = begin(); for ( ; it != end() ? *it < 33 : false; - ++it ); + ++it ) ; pop_front(it - begin()); } @@ -605,7 +605,7 @@ StreamStr::strip_back_whitespace() const_iterator it = end(); for ( ; it != begin() ? *(it-1) < 33 : false; - --it ); + --it ) ; pop_back(end() - it); } |