diff options
Diffstat (limited to 'xml2cmp')
-rw-r--r-- | xml2cmp/source/support/sistr.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xml2cmp/source/support/sistr.cxx b/xml2cmp/source/support/sistr.cxx index 1f63f771ee8c..c8277f7b8d5f 100644 --- a/xml2cmp/source/support/sistr.cxx +++ b/xml2cmp/source/support/sistr.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sistr.cxx,v $ - * $Revision: 1.7 $ + * $Revision: 1.7.10.1 $ * * This file is part of OpenOffice.org. * @@ -567,7 +567,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 @@ -581,7 +581,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 @@ -593,7 +593,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 @@ -644,7 +644,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; |