From 8049d3f2345d5e6ead9fcb7b84f376fc84b82706 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 22 Apr 2025 19:28:40 +0200 Subject: [PATCH] tdf#166194 Chinese characters crowd in cell regressioon from commit 11b15571475414ef853e21a6c96afa2ac81f848f Author: Noel Grandin 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 --- editeng/inc/TextPortion.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editeng/inc/TextPortion.hxx b/editeng/inc/TextPortion.hxx index 5458eaa9cf23..c9de6b420d12 100644 --- a/editeng/inc/TextPortion.hxx +++ b/editeng/inc/TextPortion.hxx @@ -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();