/io/test/

method='get'> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/oox/source/helper/graphichelper.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-02-02 15:24:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-02 17:45:23 +0000
commit1ade66e7e70ce13c419f1ffff5222dcedec281bd (patch)
treefa5357563413d48313182ee966f0ae5f99a26013 /oox/source/helper/graphichelper.cxx
parentd15f4fc67dfcae492c7acfbe815f5d9ba10ae4d4 (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>