diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-13 13:28:17 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-13 13:28:17 -0800 |
commit | 419baf83d7fcf52fa535240bd0d020e39c91473f (patch) | |
tree | a1dd106534fcf7cd2770896b9b9e7e907aa1b716 /xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp | |
parent | e8131137dabd2e1dcf1bcdf49e81ee6c9ae26413 (diff) | |
download | pdfium-419baf83d7fcf52fa535240bd0d020e39c91473f.tar.xz |
Rename LayoutItemImpl classes to LayoutItem.
There is no longer a LayoutItem/LayoutItemImpl distinction.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1441423002 .
Diffstat (limited to 'xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp')
-rw-r--r-- | xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp b/xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp index b9c154fca1..a3953aa88f 100644 --- a/xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp +++ b/xfa/src/fxfa/src/parser/xfa_layout_appadapter.cpp @@ -21,18 +21,18 @@ #include "xfa_layout_pagemgr_new.h"
#include "xfa_layout_appadapter.h"
IXFA_DocLayout* IXFA_LayoutPage::GetLayout() const {
- CXFA_ContainerLayoutItemImpl* pThis = (CXFA_ContainerLayoutItemImpl*)this;
+ CXFA_ContainerLayoutItem* pThis = (CXFA_ContainerLayoutItem*)this;
return pThis->m_pFormNode->GetDocument()->GetLayoutProcessor();
}
int32_t IXFA_LayoutPage::GetPageIndex() const {
- CXFA_ContainerLayoutItemImpl* pThis = (CXFA_ContainerLayoutItemImpl*)this;
+ CXFA_ContainerLayoutItem* pThis = (CXFA_ContainerLayoutItem*)this;
return pThis->m_pFormNode->GetDocument()
->GetLayoutProcessor()
->GetLayoutPageMgr()
->GetPageIndex((IXFA_LayoutPage*)this);
}
void IXFA_LayoutPage::GetPageSize(CFX_SizeF& size) {
- CXFA_ContainerLayoutItemImpl* pThis = (CXFA_ContainerLayoutItemImpl*)this;
+ CXFA_ContainerLayoutItem* pThis = (CXFA_ContainerLayoutItem*)this;
size.Set(0, 0);
CXFA_Node* pMedium =
pThis->m_pFormNode->GetFirstChildByClass(XFA_ELEMENT_Medium);
@@ -46,7 +46,7 @@ void IXFA_LayoutPage::GetPageSize(CFX_SizeF& size) { }
}
CXFA_Node* IXFA_LayoutPage::GetMasterPage() const {
- CXFA_ContainerLayoutItemImpl* pThis = (CXFA_ContainerLayoutItemImpl*)this;
+ CXFA_ContainerLayoutItem* pThis = (CXFA_ContainerLayoutItem*)this;
return pThis->m_pFormNode;
}
FX_DWORD XFA_GetRelevant(CXFA_Node* pFormItem, FX_DWORD dwParentRelvant) {
@@ -69,8 +69,8 @@ FX_DWORD XFA_GetRelevant(CXFA_Node* pFormItem, FX_DWORD dwParentRelvant) { }
return dwRelevant;
}
-void XFA_ReleaseLayoutItem(CXFA_LayoutItemImpl* pLayoutItem) {
- CXFA_LayoutItemImpl *pNext, *pNode = pLayoutItem->m_pFirstChild;
+void XFA_ReleaseLayoutItem(CXFA_LayoutItem* pLayoutItem) {
+ CXFA_LayoutItem* pNext, * pNode = pLayoutItem->m_pFirstChild;
while (pNode) {
pNext = pNode->m_pNextSibling;
pNode->m_pParent = NULL;
|