cppcanvas/source/mtfrenderer/emfplus.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 41c4585504f38a4b0eeb164f317ab71a7a742dd5
Author: Radek Doulik <r...@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(),
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to