From fccf616e2caf2cc550857ea47c77b1ef20bc67ca Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 16 May 2018 12:36:28 +0900 Subject: tdf#117596 set the size for Asian and Complex char height too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I703fc4d1cf34747d924a7fa44913a4bfe9bff67b Reviewed-on: https://gerrit.libreoffice.org/54406 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl (cherry picked from commit d57c6f5d44ec7a8dff2121bd19103804329af66a) Reviewed-on: https://gerrit.libreoffice.org/54408 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara (cherry picked from commit e822afc4989451674ae51df0d3e5ca233e8fd5fa) --- chart2/source/view/main/VButton.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chart2') diff --git a/chart2/source/view/main/VButton.cxx b/chart2/source/view/main/VButton.cxx index 0f4e2bd534ae..b31bdd0c4034 100644 --- a/chart2/source/view/main/VButton.cxx +++ b/chart2/source/view/main/VButton.cxx @@ -109,6 +109,8 @@ void VButton::createShapes(const uno::Reference& xTextProp) tPropertyNameValueMap aTextValueMap; aTextValueMap["CharHeight"] <<= 10.0f; + aTextValueMap["CharHeightAsian"] <<= 10.0f; + aTextValueMap["CharHeightComplex"] <<= 10.0f; aTextValueMap["FillColor"] <<= m_nBGColor; aTextValueMap["FillStyle"] <<= drawing::FillStyle_SOLID; aTextValueMap["LineColor"] <<= sal_Int32(0xcccccc); -- cgit