vcl/source/gdi/pdfobjectcopier.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf923b7f892ee8d5c5122c7bd88cb40a2e390a56
Author:     Dennis Francis <dennis.fran...@collabora.com>
AuthorDate: Fri Dec 2 12:50:44 2022 +0530
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Fri Dec 16 13:48:22 2022 +0000

    vcl: copy /Pattern resources too
    
    Change-Id: I3d99f9083fb67c68ddee24d2d285350230533fda
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143563
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/vcl/source/gdi/pdfobjectcopier.cxx 
b/vcl/source/gdi/pdfobjectcopier.cxx
index 999be92bd752..67f70d10f2a9 100644
--- a/vcl/source/gdi/pdfobjectcopier.cxx
+++ b/vcl/source/gdi/pdfobjectcopier.cxx
@@ -260,7 +260,7 @@ void 
PDFObjectCopier::copyPageResources(filter::PDFObjectElement* pPage, OString
 {
     rLine.append(" /Resources <<");
     static const std::initializer_list<OString> aKeys
-        = { "ColorSpace", "ExtGState", "Font", "XObject", "Shading" };
+        = { "ColorSpace", "ExtGState", "Font", "XObject", "Shading", "Pattern" 
};
     for (const auto& rKey : aKeys)
     {
         rLine.append(copyExternalResources(*pPage, rKey, rCopiedResources));

Reply via email to