Index: fpdfsdk/fpdf_transformpage.cpp |
diff --git a/fpdfsdk/fpdf_transformpage.cpp b/fpdfsdk/fpdf_transformpage.cpp |
index 712080a9dec9584227851e04e26089e16f4b0b41..f76cc2be8cc9a4ed82a001b1df1cd340a2cbd28c 100644 |
--- a/fpdfsdk/fpdf_transformpage.cpp |
+++ b/fpdfsdk/fpdf_transformpage.cpp |
@@ -219,11 +219,11 @@ DLLEXPORT FPDF_CLIPPATH STDCALL FPDF_CreateClipPath(float left, |
float bottom, |
float right, |
float top) { |
- CPDF_ClipPath* pNewClipPath = new CPDF_ClipPath(); |
- pNewClipPath->GetPrivateCopy(); |
CPDF_Path Path; |
- Path.GetPrivateCopy(); |
Path.AppendRect(left, bottom, right, top); |
+ |
+ CPDF_ClipPath* pNewClipPath = new CPDF_ClipPath(); |
+ pNewClipPath->GetPrivateCopy(); |
pNewClipPath->AppendPath(Path, FXFILL_ALTERNATE, FALSE); |
return pNewClipPath; |
} |