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

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

Issue 1736133002: Remove FDE_USEFORMATBLOCK. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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_txtedtengine.cpp ('k') | xfa/src/fwl/src/basewidget/include/fwl_editimp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/basewidget/fwl_editimp.cpp
diff --git a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp
index 79168af9c1fdc26ca44464d33e8cbf742f690b03..39be5aa08789f63d4ac0b506692e4095ea432a90 100644
--- a/xfa/src/fwl/src/basewidget/fwl_editimp.cpp
+++ b/xfa/src/fwl/src/basewidget/fwl_editimp.cpp
@@ -85,9 +85,6 @@ FWL_ERR IFWL_Edit::SetLimit(int32_t nLimit) {
FWL_ERR IFWL_Edit::SetAliasChar(FX_WCHAR wAlias) {
return static_cast<CFWL_EditImp*>(GetImpl())->SetAliasChar(wAlias);
}
-FWL_ERR IFWL_Edit::SetFormatString(const CFX_WideString& wsFormat) {
- return static_cast<CFWL_EditImp*>(GetImpl())->SetFormatString(wsFormat);
-}
FWL_ERR IFWL_Edit::Insert(int32_t nStart,
const FX_WCHAR* lpText,
int32_t nLen) {
@@ -595,12 +592,6 @@ FWL_ERR CFWL_EditImp::SetAliasChar(FX_WCHAR wAlias) {
m_pEdtEngine->SetAliasChar(wAlias);
return FWL_ERR_Succeeded;
}
-FWL_ERR CFWL_EditImp::SetFormatString(const CFX_WideString& wsFormat) {
- if (!m_pEdtEngine)
- return FWL_ERR_Succeeded;
- m_pEdtEngine->SetFormatBlock(0, wsFormat);
- return FWL_ERR_Succeeded;
-}
FWL_ERR CFWL_EditImp::Insert(int32_t nStart,
const FX_WCHAR* lpText,
int32_t nLen) {
« no previous file with comments | « xfa/src/fee/src/fee/fde_txtedtengine.cpp ('k') | xfa/src/fwl/src/basewidget/include/fwl_editimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698