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

New commits:
commit c060f449371cebc9e447568ae1e0aa0860137e2d
Author:     Dennis Francis <dennis.fran...@collabora.com>
AuthorDate: Fri Dec 2 12:50:44 2022 +0530
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Jan 3 07:26:03 2023 +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>
    (cherry picked from commit cf923b7f892ee8d5c5122c7bd88cb40a2e390a56)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144437
    Tested-by: Jenkins

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