diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-09-13 14:05:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-09-13 14:05:40 +0200 |
commit | 3ca5b83368a82f0798f3e1122264d9788ac7300e (patch) | |
tree | 89419451977029641ea639247636d3e69b320806 /connectivity/source/commontools | |
parent | 1f7ee569ce0cb1de6c8caad27fe85e770bded391 (diff) |
fix Apple g++ 4.2.1 warning in DBTypeConversion::toDateTime
Change-Id: I467494c1731999c50883f96301b00a3dc1282c73
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/dbconversion.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbconversion.cxx b/connectivity/source/commontools/dbconversion.cxx index 1449b99779ce..5aa5e1a69cd9 100644 --- a/connectivity/source/commontools/dbconversion.cxx +++ b/connectivity/source/commontools/dbconversion.cxx @@ -422,7 +422,7 @@ namespace dbtools { const sal_Unicode *p = _sSQLString.getStr() + nSeparation; const sal_Unicode *const begin = p; - for(;isspace(*p);++p); + while (isspace(*p)) { ++p; } nSeparation += p - begin; aTime = toTime( _sSQLString.copy( nSeparation ) ); } |