summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-04-18 19:17:11 +0200
committerRadek Doulik <rodo@novell.com>2012-04-18 19:17:11 +0200
commit41c4585504f38a4b0eeb164f317ab71a7a742dd5 (patch)
tree2a70f024694696f5fc0aa4f41dba0e4b2593e6b5
parente14b7cdd54dc1e1a94be63b3d81a746756876373 (diff)
tune the guessed position a bit, so that it works better with test documents
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 88d281a41df7..f0c272c7e37f 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(),