summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-23 22:29:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-24 10:48:43 +0200
commit53fb2cd4539aedd4b647d01eb0421c14d3da4f23 (patch)
tree0ec1c0069ae2974bb0a06e83664b2677ecca3f4c
parentd9b9f50242ece39f9ecbbb24128ae3eff4c3319e (diff)
improve text rendering
Change-Id: Idf2b0129f9d72739e934c65ccf40acf0b3000a5a
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index cbec5c302a33..02161bc34c35 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -50,7 +50,7 @@ const float TEXT_HEIGHT = 15.0f;
float calculateTextWidth(const OUString& rText)
{
- return rText.getLength() * 7.5;
+ return rText.getLength() * 10;
}
}