sc/source/ui/view/gridwin4.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 3b70717f02d5f2f255de078bd277e8662884bfb0 Author: Kohei Yoshida <kohei.yosh...@collabora.com> Date: Fri Jan 16 19:00:04 2015 -0500 Use 1/100mm map mode for rendering edit text objects. Change-Id: I0c82088342085c1b7d9aa3c6009684bc58a9fd21 diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 5e364c2..07a5d62 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -945,7 +945,9 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice, aOutData.DrawStrings(true); - // TODO : Edit texts don't get rendered at all. Fix this. + // Edit texts need 1/100mm map mode to be rendered correctly. + aNewMapMode.SetMapUnit(MAP_100TH_MM); + rDevice.SetMapMode(aNewMapMode); aOutData.DrawEdit(true); rDevice.SetMapMode(aOldMapMode); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits