diff options
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdftext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/fpdftext.cpp b/fpdfsdk/fpdftext.cpp index ee4354735e..5b68da4eee 100644 --- a/fpdfsdk/fpdftext.cpp +++ b/fpdfsdk/fpdftext.cpp @@ -175,7 +175,6 @@ FPDF_EXPORT int FPDF_CALLCONV FPDFText_GetText(FPDF_TEXTPAGE text_page, if (str.GetLength() <= 0) return 0; - ASSERT(str.GetLength() <= static_cast<FX_STRSIZE>(count)); if (str.GetLength() > static_cast<FX_STRSIZE>(count)) str = str.Left(static_cast<FX_STRSIZE>(count)); |