Simplify CPWL_Dash
Remove the default constructor and Reset(). They are never used, and
their values are not valid dash values anyway.
Remove the 3-params ctor, as the struct can just be a pure aggregate.
Change-Id: I1abfa46897eedb8bc68e251b3632a1bfa5cade71
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/124798
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@google.com>
diff --git a/fpdfsdk/pwl/cpwl_wnd.h b/fpdfsdk/pwl/cpwl_wnd.h
index f7aea8d..8e9a444 100644
--- a/fpdfsdk/pwl/cpwl_wnd.h
+++ b/fpdfsdk/pwl/cpwl_wnd.h
@@ -59,16 +59,6 @@
#define PCBS_ALLOWCUSTOMTEXT 0x0001L
struct CPWL_Dash {
- CPWL_Dash() : nDash(0), nGap(0), nPhase(0) {}
- CPWL_Dash(int32_t dash, int32_t gap, int32_t phase)
- : nDash(dash), nGap(gap), nPhase(phase) {}
-
- void Reset() {
- nDash = 0;
- nGap = 0;
- nPhase = 0;
- }
-
int32_t nDash;
int32_t nGap;
int32_t nPhase;