Fix emfio_wmf_test VCL dependency

Desktop / LibreOffice - Jan-Marek Glogowski [] - 8 October 2018 14:56 EDT

This unit test sometimes fails on Windows with the message: "no suitable windowing system found, exiting."

Currently the test just depends on desktop_detector and manually sets up VCL duplicating a lot of code and even library symbols. The original Gerrit change describes a lot of failures in its comments (change 28322, version 16). Now that Windows and MacOS were converted to VCL plugins, depending on desktop_detector is not sufficient anymore.

This reverts a lot of VCL test setup from commit 20f6a6b159c6 ("tdf#99402: fix Metafile Font handling"). Seems now a simple gb_CppunitTest_use_vcl is enough.

Change-Id: Ia941ded91358231021741ff4a5d96e2014ac6c80 Reviewed-on:

18c628ae6ef2 Fix emfio_wmf_test VCL dependency
emfio/ | 172 +--------------------------------
emfio/qa/cppunit/wmf/wmfimporttest.cxx | 17 +---
2 files changed, 6 insertions(+), 183 deletions(-)


  • Share