summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2018-12-09 21:20:38 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2018-12-29 00:02:09 +0100
commit7f6601b850c397baf2dc82e355aec3b5fb2ff3a1 (patch)
tree0e4ee8d60db5b918b0861d0b9409b5e7acd241bb /connectivity
parent7ee8f2e34d1d50599a39b4d6f289ff03612ca6a3 (diff)
Simplify
Change-Id: I2fd5c9fdab396da7c9117ac7c2f0d26c572c640d Reviewed-on: https://gerrit.libreoffice.org/65670 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/predicateinput.cxx3
1 files changed, 1 insertions, 2 deletions
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());