[Libreoffice-commits] core.git: dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Jan 13 09:58:22 UTC 2019
dbaccess/source/ui/querydesign/QueryDesignView.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1f473ecc3b601ca2ea9fc4a8eca0d89dd7be5389
Author: Matteo Casalin <matteo.casalin at yahoo.com>
AuthorDate: Sat Dec 29 23:19:45 2018 +0100
Commit: Matteo Casalin <matteo.casalin at yahoo.com>
CommitDate: Sun Jan 13 10:58:01 2019 +0100
Avoid index for single getToken call
Change-Id: Ic770f944db5dfedc933b3f6d79816da5fc77c2c3
Reviewed-on: https://gerrit.libreoffice.org/66220
Tested-by: Jenkins
Reviewed-by: Matteo Casalin <matteo.casalin at yahoo.com>
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 5587a613fadb..af315749012d 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -1516,8 +1516,7 @@ namespace
aDragLeft->SetFunctionType(nFunctionType);
if ( bHaving )
aDragLeft->SetGroupBy(true);
- sal_Int32 nIndex = 0;
- aDragLeft->SetFunction(aColumnName.getToken(0,'(',nIndex));
+ aDragLeft->SetFunction(aColumnName.getToken(0, '('));
}
else
{
More information about the Libreoffice-commits
mailing list