summaryrefslogtreecommitdiff
path: root/xmlhelp
ModeNameSize
d---------inc69logplain
d---------prj70logplain
d---------source99logplain
d---------util118logplain
g.cgi?id=162219' target=_blank>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> m SwFrameMiklos Vajna 2023-06-16sw layout xml dump: extract SwTextFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-06-15sw layout xml dump: show page frame of anchored objectsMiklos Vajna 2023-06-02sw layout xml dump: extract SwCellFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-05-26sw layout xml dump: extract SwRowFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-05-19sw layout xml dump: extract SwTabFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-05-12sw layout xml dump: extract SwSectionFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-05-05sw layout xml dump: extract SwFlyFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-04-28sw layout xml dump: extract SwBodyFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-04-14sw layout xml dump: extract SwFootnoteFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-03-31sw layout xml dump: extract SwFootnoteContFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-03-24sw layout xml dump: extract SwFooterFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-03-17sw layout xml dump: extract SwHeaderFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-03-10sw layout xml dump: extract SwColumnFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-03-03sw layout xml dump: extract SwPageFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-02-24sw layout xml dump: extract SwRootFrame::dumpAsXml() from SwFrameMiklos Vajna 2023-02-13sw floattable: handle table-in-fly in SwFrame::GetNextFlyLeaf()Miklos Vajna 2023-02-08sw layout xml dump: show offset of text framesMiklos Vajna 2023-01-27sw: avoid copy&paste in SwFieldPortion::dumpAsXml()Miklos Vajna 2022-12-19sw layout xml dump: show numbering portion weightMiklos Vajna 2022-12-07sw layout xml dump: avoid confusing content of SwParaPortionMiklos Vajna 2022-11-23CppunitTest_sw_uiwriter: use more SwParaPortion::dumpAsXml()Miklos Vajna 2022-11-22loplugin:unusedfields update the post-process scriptNoel Grandin 2022-11-21loplugin:unusedfields start removing unused weld fieldsNoel Grandin 2022-11-17CppunitTest_sw_layoutwriter: use more SwParaPortion::dumpAsXml()Miklos Vajna 2022-10-14sw: tables have frames, not portionsMiklos Vajna 2022-09-16CppunitTest_sw_uiwriter2: use more SwParaPortion::dumpAsXml()Miklos Vajna