summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2018-05-16 12:36:28 +0900
committerAndras Timar <andras.timar@collabora.com>2018-05-17 15:23:46 +0200
commitfccf616e2caf2cc550857ea47c77b1ef20bc67ca (patch)
tree5ab97c0fb87a9b214e0ae4581e95687ad3250013 /chart2
parentb184bee298e20a976712397a2d258e1dd7b028f0 (diff)
tdf#117596 set the size for Asian and Complex char height too
Change-Id: I703fc4d1cf34747d924a7fa44913a4bfe9bff67b Reviewed-on: https://gerrit.libreoffice.org/54406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit d57c6f5d44ec7a8dff2121bd19103804329af66a) Reviewed-on: https://gerrit.libreoffice.org/54408 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit e822afc4989451674ae51df0d3e5ca233e8fd5fa)
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/VButton.cxx2
1 files changed, 2 insertions, 0 deletions
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<beans::XPropertySet>& 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);