summaryrefslogtreecommitdiff
path: root/xml2cmp
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
commit1a784f6768595b62ce05076f22a2c93b90e24cc3 (patch)
tree5ec849b506400ce23a004d352e50414375993297 /xml2cmp
parent8f9181922c32e5e47d11b2537e706aadb7c38407 (diff)
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'xml2cmp')
-rw-r--r--xml2cmp/source/support/sistr.cxx10
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;