diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-02 10:56:43 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-11-02 10:57:44 +0100 |
commit | 708d1c5ab242b545ced598879233fc662d7e6cc0 (patch) | |
tree | 518fe8cf520cf82dfc89e1e1f967423749f2f926 /sc/CppunitTest_sc_annotationshapeobj.mk | |
parent | f570f837d65c9ee79a10be823c3dc28febdebfc8 (diff) |
sc lok: emit RowColumnHeader info in twips
As that's the unit we use everywhere else in the LOK API. Also, make the
ScGlobal::nScreenPPTX/Y calculation more precise, otherwise rounding
errors occur during the pixel -> twip conversion.
Example with the old precision: col height is 103 px, nScreenPPTY is
0.067, twips is 1537.3134328358208, convering it back is 102.487562189
px.
Example with the new precision: col height is 103 px, nScreenPPTY is
0.0667, twips is 1544.2278860569716, convering it back is 102.948525737
px.
Change-Id: I19f5285508ef0c751614d07969b3a7a037e7d1ec
Diffstat (limited to 'sc/CppunitTest_sc_annotationshapeobj.mk')
0 files changed, 0 insertions, 0 deletions