diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/qa/unit/core.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpdf.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/qa/unit/core.cxx b/svx/qa/unit/core.cxx index fbacceed341f..7ec74da33859 100644 --- a/svx/qa/unit/core.cxx +++ b/svx/qa/unit/core.cxx @@ -70,7 +70,7 @@ CPPUNIT_TEST_FIXTURE(Test, testChartExportToPdf) SvMemoryStream aMemory; aMemory.WriteStream(*aTempFile.GetStream(StreamMode::READ)); std::unique_ptr<vcl::pdf::PDFiumDocument> pPdfDocument - = pPdfium->openDocument(aMemory.GetData(), aMemory.GetSize()); + = pPdfium->openDocument(aMemory.GetData(), aMemory.GetSize(), OString()); // Without the accompanying fix in place, this test would have failed, because the output was // empty (0 bytes). CPPUNIT_ASSERT(pPdfDocument); diff --git a/svx/source/svdraw/svdpdf.cxx b/svx/source/svdraw/svdpdf.cxx index 648485baafd3..9f9cd2c5a8de 100644 --- a/svx/source/svdraw/svdpdf.cxx +++ b/svx/source/svdraw/svdpdf.cxx @@ -115,7 +115,7 @@ ImpSdrPdfImport::ImpSdrPdfImport(SdrModel& rModel, SdrLayerID nLay, const tools: auto const& rVectorGraphicData = rGraphic.getVectorGraphicData(); auto* pData = rVectorGraphicData->getBinaryDataContainer().getData(); sal_Int32 nSize = rVectorGraphicData->getBinaryDataContainer().getSize(); - mpPdfDocument = mpPDFium->openDocument(pData, nSize); + mpPdfDocument = mpPDFium->openDocument(pData, nSize, OString()); if (!mpPdfDocument) return; |