aboutsummaryrefslogtreecommitdiff
path: root/source/ur/framework
AgeCommit message (Expand)Author
2021-08-30update translations for 7-2/masterChristian Lohmaier
2021-06-13update translations for 7.2.0 beta1libreoffice-7-2-branch-pointChristian Lohmaier
2021-03-30update translations for masterChristian Lohmaier
2021-03-23update translations for masterChristian Lohmaier
2021-01-25update translations for masterChristian Lohmaier
2020-02-28update translations for master and add Friulian (fur)Christian Lohmaier
2018-04-25update translatiosn for 6.1.0 alpha1Christian Lohmaier
2017-12-18update translations for 6.0/masterChristian Lohmaier
2017-10-19update templates for 6.0.0 alpha1Christian Lohmaier
2017-09-14convert to gettext formatCaolán McNamara
2017-07-12update translationsChristian Lohmaier
2014-11-20update translations for 4.4.0 beta1Christian Lohmaier
2014-05-21update translations for 4.3.0 beta1libreoffice-4-3-branch-pointChristian Lohmaier
2013-12-09update translations for 4.2.0 Beta2Christian Lohmaier
2013-05-25initial import of 4.1 translationsAndras Timar
2013-01-06 update translations for LibreOffice 4.0 rc1Andras Timar
2012-12-16update translations for LibreOffice 4.0 beta2Andras Timar
2012-12-03update translations for LibreOffice 4.0 beta1Andras Timar
2012-11-20initial import of LibreOffice 4.0 translationsAndras Timar
option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sw/source/writerfilter/rtftok/rtfcontrolwords.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-07-28 01:16:00 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-07-28 01:14:42 +0200
commit233af54afb6e493c3538efe7c93d0f53f1b4c3ab (patch)
treef31908c2b29995e6ea7f0d51edb4877a2773ae54 /sw/source/writerfilter/rtftok/rtfcontrolwords.hxx
parent5373679b695e5bd4f68fe4554234dd9facc3e54f (diff)
tdf#162219: pass correct DecimalDigits value to SQLBindParameter HEADmaster
... when setting DECIMAL / NUMERIC. Passing 'scale' from setObjectWithInfo to SQLBindParameter was wrong anyway: in setObjectWithInfo, the scale is needed if it converts the object 'x' to the requested format before sending to the database. In this case, it mismatched with the actual count of decimals in the string sent to ODBC: it could be "1" or "1.2"; but 'scale' is always equal to the scale of the parameter in the database (4 in the bugdoc), which resulted in the error returned by driver. Note that there is code that truncates excessive decimals - it is in OKeySet::impl_convertValue_throw, implemented for i#106772; it would be best to remove that code, and let the database do its magic: e.g., passing a string like "1.99999" to a DECIMAL(19,4) field in MS SQL Server would round it to 2, while our code truncates it to 1.9999. The ODBC driver can handle more digits itself. But that isn't in the scope here, and may need to tweak other database connectors. Change-Id: Ib50c6d78bfd0cbf5ecd59f46f300107076ec0037 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171127 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>