sd/qa/unit/export-tests-ooxml3.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit d6ddd7a6c242cbe13a87266fa2e34b42454d2ed9 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Sep 8 16:13:53 2022 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Sep 8 17:12:02 2022 +0200 Fix CppunitTest_sd_export_tests-ooxml3 on non-default DPI Change-Id: Iaf9a36c63f2bca9b065b2370e88c5e86c5f06888 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139677 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sd/qa/unit/export-tests-ooxml3.cxx b/sd/qa/unit/export-tests-ooxml3.cxx index 6d3026326b17..d80518f2e844 100644 --- a/sd/qa/unit/export-tests-ooxml3.cxx +++ b/sd/qa/unit/export-tests-ooxml3.cxx @@ -2005,6 +2005,12 @@ void SdOOXMLExportTest3::testTdf147121() void SdOOXMLExportTest3::testTdf140912_PicturePlaceholder() { + // FIXME: the DPI check should be removed when either (1) the test is fixed to work with + // non-default DPI; or (2) unit tests on Windows are made to use svp VCL plugin. + // -8490 in the test below turns into -8014 on my Windows box with 150% scaling. + if (!IsDefaultDPI()) + return; + ::sd::DrawDocShellRef xDocShRef = loadURL( m_directories.getURLFromSrc(u"/sd/qa/unit/data/pptx/tdfpictureplaceholder.pptx"), PPTX);