connectivity/source/commontools/dbconversion.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3ca5b83368a82f0798f3e1122264d9788ac7300e Author: Michael Stahl <mst...@redhat.com> Date: Fri Sep 13 14:05:15 2013 +0200 fix Apple g++ 4.2.1 warning in DBTypeConversion::toDateTime Change-Id: I467494c1731999c50883f96301b00a3dc1282c73 diff --git a/connectivity/source/commontools/dbconversion.cxx b/connectivity/source/commontools/dbconversion.cxx index 1449b99..5aa5e1a 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 ) ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits