[Libreoffice-commits] core.git: connectivity/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Dec 28 23:02:32 UTC 2018
connectivity/source/commontools/predicateinput.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 7f6601b850c397baf2dc82e355aec3b5fb2ff3a1
Author: Matteo Casalin <matteo.casalin at yahoo.com>
AuthorDate: Sun Dec 9 21:20:38 2018 +0100
Commit: Matteo Casalin <matteo.casalin at yahoo.com>
CommitDate: Sat Dec 29 00:02:09 2018 +0100
Simplify
Change-Id: I2fd5c9fdab396da7c9117ac7c2f0d26c572c640d
Reviewed-on: https://gerrit.libreoffice.org/65670
Tested-by: Jenkins
Reviewed-by: Matteo Casalin <matteo.casalin at yahoo.com>
diff --git a/connectivity/source/commontools/predicateinput.cxx b/connectivity/source/commontools/predicateinput.cxx
index b7a08ef57309..3b3868c0eb8a 100644
--- a/connectivity/source/commontools/predicateinput.cxx
+++ b/connectivity/source/commontools/predicateinput.cxx
@@ -291,9 +291,8 @@ namespace dbtools
{
OUString sReturn = _rPredicateValue;
OUString sError;
- OUString sField = _sField;
sal_Int32 nIndex = 0;
- sField = sField.getToken(0,'(',nIndex);
+ OUString sField = _sField.getToken(0, '(', nIndex);
if(nIndex == -1)
sField = _sField;
sal_Int32 nType = ::connectivity::OSQLParser::getFunctionReturnType(sField,&m_aParser.getContext());
More information about the Libreoffice-commits
mailing list