[Libreoffice-commits] core.git: connectivity/source
Tor Lillqvist
tml at collabora.com
Thu Oct 31 09:48:29 CET 2013
connectivity/source/commontools/AutoRetrievingBase.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 526e754b2ac52c9e4366cce63e2c9bbf817b2e76
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Oct 31 10:46:55 2013 +0200
WaE: while loop has empty body
Not just a warning, but clearly an accidental editing error.
Change-Id: Ib708b1de774d56d6c4b144c4e10e280f8181b67b
diff --git a/connectivity/source/commontools/AutoRetrievingBase.cxx b/connectivity/source/commontools/AutoRetrievingBase.cxx
index fd82b62..189e756 100644
--- a/connectivity/source/commontools/AutoRetrievingBase.cxx
+++ b/connectivity/source/commontools/AutoRetrievingBase.cxx
@@ -42,7 +42,7 @@ namespace connectivity
{ // we need a table name
sal_Int32 nIntoIndex = sStmt.indexOf("INTO ");
sStmt = sStmt.copy(nIntoIndex+5);
- while (sStmt.startsWith(" "));
+ while (sStmt.startsWith(" "))
{
sStmt = sStmt.copy(1);
}
More information about the Libreoffice-commits
mailing list