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

Unified Diff: xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/fgas/src/xml/fx_sax_imp.cpp ('k') | xfa/src/fwl/src/basewidget/fwl_caretimp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp
diff --git a/xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp b/xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp
index 8ac141a68670e0e988e395f40f6bb65ab5a1d9da..cc7ffd9f54354fb54f488da56f205be631b46d66 100644
--- a/xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp
+++ b/xfa/src/fwl/src/basewidget/fwl_barcodeimp.cpp
@@ -113,7 +113,7 @@ FWL_ERR CFWL_BarcodeImp::DrawWidget(CFX_Graphics *pGraphics, const CFX_Matrix *p
if (pMatrix) {
mt.Concat(*pMatrix);
}
- FX_INT32 errorCode = 0;
+ int32_t errorCode = 0;
_FWL_RETURN_VALUE_IF_FAIL(m_pBarcodeEngine->RenderDevice(pGraphics->GetRenderDevice(), pMatrix, errorCode), FWL_ERR_Indefinite);
return FWL_ERR_Succeeded;
}
@@ -147,8 +147,8 @@ void CFWL_BarcodeImp::GenerateBarcodeImageCache()
if(pFontColor) {
m_pBarcodeEngine->SetFontColor(*pFontColor);
}
- m_pBarcodeEngine->SetHeight(FX_INT32(m_rtClient.height));
- m_pBarcodeEngine->SetWidth(FX_INT32(m_rtClient.width));
+ m_pBarcodeEngine->SetHeight(int32_t(m_rtClient.height));
+ m_pBarcodeEngine->SetWidth(int32_t(m_rtClient.width));
FX_DWORD dwAttributeMask = pData->GetBarcodeAttributeMask();
if (dwAttributeMask & FWL_BCDATTRIBUTE_CHARENCODING) {
m_pBarcodeEngine->SetCharEncoding (pData->GetCharEncoding());
@@ -189,7 +189,7 @@ void CFWL_BarcodeImp::GenerateBarcodeImageCache()
if (dwAttributeMask & FWL_BCDATTRIBUTE_TRUNCATED) {
m_pBarcodeEngine->SetTruncated (pData->GetTruncated());
}
- FX_INT32 errorCode = 0;
+ int32_t errorCode = 0;
m_dwStatus = m_pBarcodeEngine->Encode(wsText, TRUE, errorCode) ? XFA_BCS_EncodeSuccess : 0;
}
void CFWL_BarcodeImp::CreateBarcodeEngine()
« no previous file with comments | « xfa/src/fgas/src/xml/fx_sax_imp.cpp ('k') | xfa/src/fwl/src/basewidget/fwl_caretimp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698