[Libreoffice-commits] .: cppcanvas/source
Radek DoulÃk
rodo at kemper.freedesktop.org
Wed Apr 18 10:18:09 PDT 2012
cppcanvas/source/mtfrenderer/emfplus.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 41c4585504f38a4b0eeb164f317ab71a7a742dd5
Author: Radek Doulik <rodo at novell.com>
Date: Wed Apr 18 19:17:11 2012 +0200
tune the guessed position a bit, so that it works better with test documents
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 88d281a..f0c272c 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1512,7 +1512,7 @@ namespace cppcanvas
TextActionFactory::createTextAction(
// position is just rough guess for now
// we should calculate it exactly from layoutRect or font
- ::vcl::unotools::pointFromB2DPoint ( Map( lx + 0.35*cellSize, ly + cellSize ) ),
+ ::vcl::unotools::pointFromB2DPoint ( Map( lx + 0.15*cellSize, ly + cellSize ) ),
::Size(),
::Color(),
::Size(),
More information about the Libreoffice-commits
mailing list