| Index: fpdfsdk/fpdf_transformpage.cpp
|
| diff --git a/fpdfsdk/fpdf_transformpage.cpp b/fpdfsdk/fpdf_transformpage.cpp
|
| index 7b2bf7387110634aa099d5d5d880d473718a1ca2..204e49b6950ee0593be09821052fd199ef04ed8e 100644
|
| --- a/fpdfsdk/fpdf_transformpage.cpp
|
| +++ b/fpdfsdk/fpdf_transformpage.cpp
|
| @@ -127,7 +127,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPage_TransFormWithClip(FPDF_PAGE page,
|
|
|
| CPDF_Dictionary* pDic = new CPDF_Dictionary;
|
| CPDF_Stream* pStream = new CPDF_Stream(nullptr, 0, pDic);
|
| - pStream->SetData(textBuf.GetBuffer(), textBuf.GetSize(), FALSE, FALSE);
|
| + pStream->SetData(textBuf.GetBuffer(), textBuf.GetSize());
|
| CPDF_Document* pDoc = pPage->m_pDocument;
|
| if (!pDoc)
|
| return FALSE;
|
| @@ -135,7 +135,7 @@ DLLEXPORT FPDF_BOOL STDCALL FPDFPage_TransFormWithClip(FPDF_PAGE page,
|
|
|
| pDic = new CPDF_Dictionary;
|
| CPDF_Stream* pEndStream = new CPDF_Stream(nullptr, 0, pDic);
|
| - pEndStream->SetData((const uint8_t*)" Q", 2, FALSE, FALSE);
|
| + pEndStream->SetData((const uint8_t*)" Q", 2);
|
| pDoc->AddIndirectObject(pEndStream);
|
|
|
| CPDF_Array* pContentArray = nullptr;
|
| @@ -302,7 +302,7 @@ DLLEXPORT void STDCALL FPDFPage_InsertClipPath(FPDF_PAGE page,
|
| }
|
| CPDF_Dictionary* pDic = new CPDF_Dictionary;
|
| CPDF_Stream* pStream = new CPDF_Stream(nullptr, 0, pDic);
|
| - pStream->SetData(strClip.GetBuffer(), strClip.GetSize(), FALSE, FALSE);
|
| + pStream->SetData(strClip.GetBuffer(), strClip.GetSize());
|
| CPDF_Document* pDoc = pPage->m_pDocument;
|
| if (!pDoc)
|
| return;
|
|
|