|
Remove CPDF_Object::GetConstString and overrides
GetConstString() has sharp edges in that when applied to
a CPDF_Number, it must return null whereas GetString() returns
a the stringified number, because of the inability to
control the lifetime of the underlying allocated string.
Deleting this method showed several places where we
actually wanted a *String, not a *StringC, so we were
re-allocating a string we already had.
Committed: https://pdfium.googlesource.com/pdfium/+/822484b5f88d92dbcd567b1c2da38af1e720b56f
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+21 lines, -94 lines) |
Patch |
|
M |
core/fpdfapi/fpdf_page/fpdf_page_doc.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_page/fpdf_page_parser.cpp
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_array.cpp
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp
|
View
|
|
2 chunks |
+0 lines, -13 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_name.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_object.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp
|
View
|
|
3 chunks |
+0 lines, -32 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_reference.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/cpdf_string.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_array.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_dictionary.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_name.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_object.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_reference.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_parser/include/cpdf_string.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfapi/fpdf_render/fpdf_render_image.cpp
|
View
|
1
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/cpvt_generateap.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_annot.cpp
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
core/fpdfdoc/doc_basic.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 10 (5 generated)
|