diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-25 11:17:16 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-25 11:17:16 -0800 |
commit | ea1ae9915d1702ab62af520b1487f70a553fc6ae (patch) | |
tree | 2fb77cd9537fa4e5a9b02895343d5abe20b51356 /xfa/src/fgas | |
parent | f014768833406e68234eeb4f8ba94cabf766dff3 (diff) | |
download | pdfium-ea1ae9915d1702ab62af520b1487f70a553fc6ae.tar.xz |
Make CFX_PSVTemplate simpler.
Add default ctor so we don't have to zero these out.
Also, make CFX_VTemplate simpler.
Also, remove the Set() method in favor of assignment.
Also, remove CFX_FloatPoint define.
Also, remove unused (and wrong) CFX_VTemplate methods.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1733523003 .
Diffstat (limited to 'xfa/src/fgas')
-rw-r--r-- | xfa/src/fgas/src/layout/fx_rtfbreak.cpp | 1 | ||||
-rw-r--r-- | xfa/src/fgas/src/layout/fx_textbreak.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/xfa/src/fgas/src/layout/fx_rtfbreak.cpp b/xfa/src/fgas/src/layout/fx_rtfbreak.cpp index 20bbf99981..d76b76d3f1 100644 --- a/xfa/src/fgas/src/layout/fx_rtfbreak.cpp +++ b/xfa/src/fgas/src/layout/fx_rtfbreak.cpp @@ -1314,7 +1314,6 @@ int32_t CFX_RTFBreak::GetDisplayPos(const FX_RTFTEXTOBJ* pText, } if (!bEmptyChar) { CFX_PointF ptOffset; - ptOffset.Reset(); FX_BOOL bAdjusted = FALSE; if (pAdjustPos) { bAdjusted = pAdjustPos(wForm, bMBCSCode, pFont, fFontSize, diff --git a/xfa/src/fgas/src/layout/fx_textbreak.cpp b/xfa/src/fgas/src/layout/fx_textbreak.cpp index 700af7975e..d3ea85ebd0 100644 --- a/xfa/src/fgas/src/layout/fx_textbreak.cpp +++ b/xfa/src/fgas/src/layout/fx_textbreak.cpp @@ -1448,7 +1448,6 @@ int32_t CFX_TxtBreak::GetDisplayPos(const FX_TXTRUN* pTxtRun, } } CFX_PointF ptOffset; - ptOffset.Reset(); FX_BOOL bAdjusted = FALSE; if (pAdjustPos) { bAdjusted = pAdjustPos(wForm, bCharCode, pFont, fFontSize, |