summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/qa/cppunit/pdfexport/PDFEncryptionTest.cxx4
-rw-r--r--vcl/source/pdf/PDFiumLibrary.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/pdfexport/PDFEncryptionTest.cxx b/vcl/qa/cppunit/pdfexport/PDFEncryptionTest.cxx
index 2126cc0eb7f7..e279039a4f15 100644
--- a/vcl/qa/cppunit/pdfexport/PDFEncryptionTest.cxx
+++ b/vcl/qa/cppunit/pdfexport/PDFEncryptionTest.cxx
@@ -88,7 +88,7 @@ std::vector<sal_uInt8> parseHex(std::string_view rString)
CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testEncryptionRoundtrip_PDF_1_7)
{
- loadFromFile(u"BrownFoxLazyDog.odt");
+ loadFromURL(u"private:factory/swriter"_ustr);
// Save PDF
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
@@ -109,7 +109,7 @@ CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testEncryptionRoundtrip_PDF_1_7)
CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testEncryptionRoundtrip_PDF_2_0)
{
- loadFromFile(u"BrownFoxLazyDog.odt");
+ loadFromURL(u"private:factory/swriter"_ustr);
// Save PDF
uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
diff --git a/vcl/source/pdf/PDFiumLibrary.cxx b/vcl/source/pdf/PDFiumLibrary.cxx
index d2d91e88bb9a..c665ce006d9e 100644
--- a/vcl/source/pdf/PDFiumLibrary.cxx
+++ b/vcl/source/pdf/PDFiumLibrary.cxx
@@ -528,7 +528,7 @@ void PDFiumImpl::setLastError(OUString const& rErrorString)
if (!rErrorString.isEmpty())
{
// Report what error was set (useful in test failures)
- SAL_WARN("vcl.filter", "PDFiumImpl Error: '" << rErrorString << "' Error numner: "
+ SAL_WARN("vcl.filter", "PDFiumImpl Error: '" << rErrorString << "' Error number: "
<< sal_Int32(getLastErrorCode()));
}
maLastError = rErrorString;