tdf#166194 Chinese characters crowd in cell

regressioon from
    commit 11b1557147
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Wed Oct 30 09:51:26 2024 +0200
    convert KernArray from sal_Int32 to double

Change-Id: I5c9a9d6caa0091f4be1c3307cc842b2ea4662728
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184449
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2025-04-22 19:28:40 +02:00
parent 2a008a2034
commit 8049d3f234

View File

@@ -79,7 +79,7 @@ struct ExtraPortionInfo
if (pDXArray)
{
pOrgDXArray.reset(new double[nLen]);
memcpy(pOrgDXArray.get(), pDXArray, nLen * sizeof(sal_Int32));
memcpy(pOrgDXArray.get(), pDXArray, nLen * sizeof(double));
}
else
pOrgDXArray.reset();