summaryrefslogtreecommitdiffstats
path: root/soltools
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
commit5208ea7053255a8d4dae5dd9670dffa0eae1610e (patch)
treebeef9a231bed507647c446144bc1b8d95bbac650 /soltools
parent#i94635# fix for mingw runtime (diff)
downloadcore-5208ea7053255a8d4dae5dd9670dffa0eae1610e.tar.gz
core-5208ea7053255a8d4dae5dd9670dffa0eae1610e.zip
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'soltools')
-rw-r--r--soltools/giparser/gi_parse.cxx6
-rw-r--r--soltools/support/simstr.cxx10
2 files changed, 8 insertions, 8 deletions
diff --git a/soltools/giparser/gi_parse.cxx b/soltools/giparser/gi_parse.cxx
index 71d2299be978..932958c63150 100644
--- a/soltools/giparser/gi_parse.cxx
+++ b/soltools/giparser/gi_parse.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: gi_parse.cxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.6.16.1 $
*
* This file is part of OpenOffice.org.
*
@@ -266,10 +266,10 @@ GenericInfo_Parser::ReadKey()
{
const char * pSearch = sCurParsePosition;
- for ( ; *pSearch > 32; ++pSearch );
+ for ( ; *pSearch > 32; ++pSearch ) ;
UINT32 nKeyLength = pSearch - sCurParsePosition;
- for ( ; *pSearch <= 32 && *pSearch > '\0'; ++pSearch );
+ for ( ; *pSearch <= 32 && *pSearch > '\0'; ++pSearch ) ;
pResult->AddKey( sCurParsePosition, nKeyLength,
pSearch, strlen(pSearch),
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;