diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-17 08:24:39 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-17 10:02:30 +0100 |
commit | ced9702c9fcba0c702f0b910c3f1f5dae69a4f5a (patch) | |
tree | c9fcbc4755732e0b26b142d7fc846fe1b4164601 /framework/source/services/desktop.cxx | |
parent | f86824cca0c442d371379d2ea0bff2241f18ab3d (diff) |
SdImportTest::testPDFImportShared fails for --disable-pdfium
...with
> Test name: SdImportTest::testPDFImportShared
> assertion failed
> - Expression: false
> - failed to load file:///.../sd/qa/unit/data/pdf/multipage.pdf
during CppunitTest_sd_import_tests, because vcl::ImportPDFUnloaded always
returns false then which gets propagated down to
> #0 in vcl::ImportPDFUnloaded(rtl::OUString const&, std::__debug::vector<std::pair<Graphic, Size>, std::allocator<std::pair<Graphic, Size> > >&, double) at vcl/source/filter/ipdf/pdfread.cxx:358
> #1 in SdPdfFilter::Import() at sd/source/filter/pdf/sdpdffilter.cxx:58
> #2 in sd::DrawDocShell::ConvertFrom(SfxMedium&) at sd/source/ui/docshell/docshel4.cxx:485
> #3 in SfxObjectShell::DoLoad(SfxMedium*) at sfx2/source/doc/objstor.cxx:768
> #4 in SdModelTestBase::loadURL(rtl::OUString const&, int, std::unique_ptr<SfxAllItemSet, std::default_delete<SfxAllItemSet> >) at sd/qa/unit/sdmodeltestbase.hxx:183
> #5 in SdImportTest::testPDFImportShared() at sd/qa/unit/import-tests.cxx:1218
(If the tests currently disabled with IMPORT_PDF_ELEMENTS were enabled, see the
mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2019-December/084003.html>
"sd: disable pdf import tests", then they would work fine with --disable-pdfium
as I just checked, so they don't need to be covered by the new #if.)
(Found with <https://ci.libreoffice.org//job/lo_tb_random_config_linux/2100/>.)
Change-Id: I96e83f478c344123af0c5bcd0b5a82af01b1b9da
Reviewed-on: https://gerrit.libreoffice.org/85259
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/source/services/desktop.cxx')
0 files changed, 0 insertions, 0 deletions