Chromium Code Reviews| Index: core/fpdfdoc/doc_vt.cpp |
| diff --git a/core/fpdfdoc/doc_vt.cpp b/core/fpdfdoc/doc_vt.cpp |
| index 88a4636bbc60beeb26c62b7d9f15bd784fa46ebf..52dcd16440cbaad296b73bf00eae938f501b9bfb 100644 |
| --- a/core/fpdfdoc/doc_vt.cpp |
| +++ b/core/fpdfdoc/doc_vt.cpp |
| @@ -82,7 +82,7 @@ CPVT_FloatRect CSection::Rearrange() { |
| } |
| return CTypeset(this).Typeset(); |
| } |
| -CPVT_Size CSection::GetSectionSize(FX_FLOAT fFontSize) { |
| +CFX_PointF CSection::GetSectionSize(FX_FLOAT fFontSize) { |
|
Wei Li
2016/05/10 20:09:42
Ditto for all below.
|
| return CTypeset(this).GetEditSize(fFontSize); |
| } |
| CPVT_WordPlace CSection::GetBeginWordPlace() const { |
| @@ -376,11 +376,11 @@ CPVT_FloatRect CTypeset::CharArray() { |
| } |
| return m_rcRet = CPVT_FloatRect(0, 0, x, y); |
| } |
| -CPVT_Size CTypeset::GetEditSize(FX_FLOAT fFontSize) { |
| +CFX_PointF CTypeset::GetEditSize(FX_FLOAT fFontSize) { |
| ASSERT(m_pSection); |
| ASSERT(m_pVT); |
| SplitLines(FALSE, fFontSize); |
| - return CPVT_Size(m_rcRet.Width(), m_rcRet.Height()); |
| + return CFX_PointF(m_rcRet.Width(), m_rcRet.Height()); |
| } |
| CPVT_FloatRect CTypeset::Typeset() { |
| ASSERT(m_pVT); |