OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #include "public/fpdf_flatten.h" | 7 #include "public/fpdf_flatten.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 pNewXObject->SetData((const uint8_t*)sStream, sStream.GetLength(), FALSE, | 509 pNewXObject->SetData((const uint8_t*)sStream, sStream.GetLength(), FALSE, |
510 FALSE); | 510 FALSE); |
511 } | 511 } |
512 pPageDict->RemoveAt("Annots"); | 512 pPageDict->RemoveAt("Annots"); |
513 | 513 |
514 ObjectArray.RemoveAll(); | 514 ObjectArray.RemoveAll(); |
515 RectArray.RemoveAll(); | 515 RectArray.RemoveAll(); |
516 | 516 |
517 return FLATTEN_SUCCESS; | 517 return FLATTEN_SUCCESS; |
518 } | 518 } |
OLD | NEW |