diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/export-tests.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index a80617c8f876..150e0b524fc0 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -30,7 +30,6 @@ #include <rsc/rscsfx.hxx> - #include <svx/svdoutl.hxx> #include <svx/svdotext.hxx> #include <svx/svdoashp.hxx> @@ -44,6 +43,8 @@ #include <unotools/ucbstreamhelper.hxx> #include <rtl/ustring.hxx> +#include <vcl/opengl/OpenGLWrapper.hxx> + #include <com/sun/star/drawing/XDrawPage.hpp> #include <com/sun/star/drawing/XDrawPagesSupplier.hpp> #include <com/sun/star/animations/XAnimationNodeSupplier.hpp> @@ -445,6 +446,9 @@ void SdExportTest::testTransparentBackground() void SdExportTest::testMediaEmbedding() { + if (!OpenGLWrapper::isVCLOpenGLEnabled()) + return; + ::sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("/sd/qa/unit/data/media_embedding.odp"), ODP); #if HAVE_FEATURE_GLTF |