diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-03-08 22:43:27 +0100 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-03-10 20:01:28 +0100 |
commit | 5983cb047ae85d64040b3a99a5bb39a235f4f148 (patch) | |
tree | 64733abfae2a4290cee99be32eb2b8e5dcd6e37b /dbaccess | |
parent | 6529cd54c29c5800340530a1b8182c341fbeeafb (diff) |
dbahsql: add boolean
Change-Id: I1c18d40f6375d034e8de3c1bad6323b7cda052e6
Reviewed-on: https://gerrit.libreoffice.org/50975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/hsqldb/hsqlimport.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.cxx b/dbaccess/source/filter/hsqldb/hsqlimport.cxx index 03d25f79ed03..12d2ede81870 100644 --- a/dbaccess/source/filter/hsqldb/hsqlimport.cxx +++ b/dbaccess/source/filter/hsqldb/hsqlimport.cxx @@ -155,8 +155,12 @@ void lcl_setParams(const RowVector& row, Reference<XParameters>& xParam, // TODO break; case DataType::BOOLEAN: - // TODO - break; + { + bool bVal = false; + if (row.at(i) >>= bVal) + xParam->setBoolean(i + 1, bVal); + } + break; case DataType::OTHER: // TODO break; |