diff options
author | Radek Doulik <rodo@novell.com> | 2012-04-18 19:17:11 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-04-18 19:17:11 +0200 |
commit | 41c4585504f38a4b0eeb164f317ab71a7a742dd5 (patch) | |
tree | 2a70f024694696f5fc0aa4f41dba0e4b2593e6b5 /cppcanvas | |
parent | e14b7cdd54dc1e1a94be63b3d81a746756876373 (diff) |
tune the guessed position a bit, so that it works better with test documents
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 2 |
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(), |