diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-02 15:24:06 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-02 17:45:23 +0000 |
commit | 1ade66e7e70ce13c419f1ffff5222dcedec281bd (patch) | |
tree | fa5357563413d48313182ee966f0ae5f99a26013 /io | |
parent | d15f4fc67dfcae492c7acfbe815f5d9ba10ae4d4 (diff) |
oox: 89 DPI is not such a great default
Using the DPI from Application::GetDefaultDevice() is a much better
idea, especially that now oox::GraphicHelper::GraphicHelper() and
oox::drawingml::DrawingML::WriteSrcRect() are in sync.
Should fix the testCropPixel() failure in CppunitTest_sw_ooxmlexport
that appears on HiDPI systems.
Also, fix all the rounding problems that now became visible when the DPI
is the same for both import and export.
Change-Id: Iceb34a8a5a1eaa8ce0824491521ad6b4d2f6949c
Reviewed-on: https://gerrit.libreoffice.org/14280
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions