summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2022-12-02 12:50:44 +0530
committerMiklos Vajna <vmiklos@collabora.com>2023-01-10 07:14:22 +0000
commit3a3850df5eb1f64b5315ba37e593957b83df5a5a (patch)
tree5b64ea6f1c64733e6535551ccdcc61116f714bf0
parenttdf#148578: Do not apply table shift for RTF (diff)
downloadcore-3a3850df5eb1f64b5315ba37e593957b83df5a5a.tar.gz
core-3a3850df5eb1f64b5315ba37e593957b83df5a5a.zip
vcl: copy /Pattern resources too
Change-Id: I3d99f9083fb67c68ddee24d2d285350230533fda Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143563 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit cf923b7f892ee8d5c5122c7bd88cb40a2e390a56) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144437 Tested-by: Jenkins Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145203
-rw-r--r--vcl/source/gdi/pdfobjectcopier.cxx2
1 files changed, 1 insertions, 1 deletions
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));