summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-01-01 13:04:36 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-01-01 13:58:18 +0100
commitd48edd1e854e0df012b61f833d83efcd19fbe99b (patch)
tree237d099a5bda75e39c8d345e619aa04efa642e32 /sal
parent9fc9bf3240f8c62ad7859947ab8a033ac1fe93fa (diff)
Don't call getLength() on OUStringBuffer after makeStringAndClear()
It's the length of the OUString that we just made from the OUStringBuffer that we want. Fixes a problem where the code would try to execute an erronoeus SQL statement like: ')EATE TABLE "Tasks" ("Notes" VARCHAR(32765),"TaskID" INTEGER,"EndDate" DATE,"StartDate" DATE,"Description" VARCHAR(65000),' Too lazy to file a bug for this, the error should be obvious by just reading the code. Change-Id: I473cd8a7a9791700ca8b6467a84f4bad5dee4d55 Reviewed-on: https://gerrit.libreoffice.org/47230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sal')
0 files changed, 0 insertions, 0 deletions