Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Unified Diff: xfa/src/fee/src/fee/fde_txtedtpage.cpp

Issue 1751093002: Replace FX_LPCRECT typedef with underlying types (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove one more default value. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fee/src/fee/fde_txtedtpage.h ('k') | xfa/src/fgas/include/fx_rbk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fee/src/fee/fde_txtedtpage.cpp
diff --git a/xfa/src/fee/src/fee/fde_txtedtpage.cpp b/xfa/src/fee/src/fee/fde_txtedtpage.cpp
index 40d0155b45fef29623a6d8702b64208b48c15a68..14e7a94a8b48b0edd558e465ab9dcc38361384a8 100644
--- a/xfa/src/fee/src/fee/fde_txtedtpage.cpp
+++ b/xfa/src/fee/src/fee/fde_txtedtpage.cpp
@@ -290,7 +290,7 @@ int32_t CFDE_TxtEdtPage::GetCharCount() const {
}
int32_t CFDE_TxtEdtPage::GetDisplayPos(const CFX_RectF& rtClip,
FXTEXT_CHARPOS*& pCharPos,
- FX_LPRECTF pBBox) const {
+ CFX_RectF* pBBox) const {
pCharPos = FX_Alloc(FXTEXT_CHARPOS, m_nCharCount);
int32_t nCharPosCount = 0;
FDE_HVISUALOBJ hVisualObj = NULL;
@@ -376,10 +376,11 @@ int32_t CFDE_TxtEdtPage::SelectWord(const CFX_PointF& fPoint, int32_t& nCount) {
pIter->Release();
return nRet;
}
-FX_BOOL CFDE_TxtEdtPage::IsLoaded(FX_LPCRECTF pClipBox) {
+FX_BOOL CFDE_TxtEdtPage::IsLoaded(const CFX_RectF* pClipBox) {
return m_bLoaded;
}
-int32_t CFDE_TxtEdtPage::LoadPage(FX_LPCRECTF pClipBox, IFX_Pause* pPause) {
+int32_t CFDE_TxtEdtPage::LoadPage(const CFX_RectF* pClipBox,
+ IFX_Pause* pPause) {
if (m_nRefCount > 0) {
m_nRefCount++;
return m_nRefCount;
@@ -558,7 +559,7 @@ int32_t CFDE_TxtEdtPage::LoadPage(FX_LPCRECTF pClipBox, IFX_Pause* pPause) {
m_bLoaded = TRUE;
return 0;
}
-void CFDE_TxtEdtPage::UnloadPage(FX_LPCRECTF pClipBox) {
+void CFDE_TxtEdtPage::UnloadPage(const CFX_RectF* pClipBox) {
FXSYS_assert(m_nRefCount > 0);
m_nRefCount--;
if (m_nRefCount == 0) {
« no previous file with comments | « xfa/src/fee/src/fee/fde_txtedtpage.h ('k') | xfa/src/fgas/include/fx_rbk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698