From c6182ef92820b422d61c904e40e9fed865458eb5 Mon Sep 17 00:00:00 2001 From: Jean Ghali Date: Tue, 12 Jan 2021 11:17:17 +0000 Subject: [PATCH] #16427: Fix build failure with podofo 0.9.7 git-svn-id: svn://scribus.net/trunk/Scribus@24392 11d20701-8431-0410-a711-e3c959e3b870 --- scribus/pdf_analyzer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scribus/pdf_analyzer.cpp b/scribus/pdf_analyzer.cpp index 01c115e69b..8c9464297b 100644 --- a/scribus/pdf_analyzer.cpp +++ b/scribus/pdf_analyzer.cpp @@ -139,7 +139,9 @@ PDFColorSpace PDFAnalyzer::getCSType(PdfObject* cs) { pBase = cs->GetOwner()->GetObject(base.GetReference()); } +#if (PODOFO_VERSION < PODOFO_MAKE_VERSION(0, 9, 7)) pBase->SetOwner(cs->GetOwner()); +#endif return getCSType(pBase); } if (csTypeName == "Separation")