dbaccess/source/ui/querydesign/QueryDesignView.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 1f473ecc3b601ca2ea9fc4a8eca0d89dd7be5389
Author:     Matteo Casalin <matteo.casa...@yahoo.com>
AuthorDate: Sat Dec 29 23:19:45 2018 +0100
Commit:     Matteo Casalin <matteo.casa...@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.casa...@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
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to