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 | 5208ea7053255a8d4dae5dd9670dffa0eae1610e (patch) | |
tree | beef9a231bed507647c446144bc1b8d95bbac650 /soltools/support | |
parent | 9e92adaecbf8451740dd67fb8636f91dee2d3140 (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'soltools/support')
-rw-r--r-- | soltools/support/simstr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/soltools/support/simstr.cxx b/soltools/support/simstr.cxx index c57efd671072..b691373c52d8 100644 --- a/soltools/support/simstr.cxx +++ b/soltools/support/simstr.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: simstr.cxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.16.1 $ * * This file is part of OpenOffice.org. * @@ -578,7 +578,7 @@ int Simstr::pos_first(char c) const { int i = 0; - for (i = 0; i < len ? sz[i] != c : false; i++); + for (i = 0; i < len ? sz[i] != c : false; i++) ; if (i >= len) return NO_POS; else @@ -592,7 +592,7 @@ Simstr::pos_first_after( char c, int i = 0; if (startSearchPos >= i) i = startSearchPos+1; - for (; i < len ? sz[i] != c : false; i++); + for (; i < len ? sz[i] != c : false; i++) ; if (i >= len) return NO_POS; else @@ -604,7 +604,7 @@ int Simstr::pos_last(char c) const { int i = 0; - for (i = len-1; i >= 0 ? sz[i] != c : false; i--); + for (i = len-1; i >= 0 ? sz[i] != c : false; i--) ; if (i < 0) return NO_POS; else @@ -655,7 +655,7 @@ Simstr::is_no_text() const return true; int i; - for (i = 0; sz[i] <= 32 && i < len; i++); + for (i = 0; sz[i] <= 32 && i < len; i++) ; if (i < len) return false; return true; |