Index: fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
index ee3df36a71c3eb9fb14b50a339552ca91aa28853..febf69e7d004fe30e1987892b438475027b3652b 100644 |
--- a/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_EditCtrl.cpp |
@@ -16,11 +16,6 @@ |
#include "fpdfsdk/pdfwindow/PWL_Wnd.h" |
#include "public/fpdf_fwlevent.h" |
-#define IsFloatZero(f) ((f) < 0.0001 && (f) > -0.0001) |
-#define IsFloatBigger(fa, fb) ((fa) > (fb) && !IsFloatZero((fa) - (fb))) |
-#define IsFloatSmaller(fa, fb) ((fa) < (fb) && !IsFloatZero((fa) - (fb))) |
-#define IsFloatEqual(fa, fb) IsFloatZero((fa) - (fb)) |
- |
CPWL_EditCtrl::CPWL_EditCtrl() |
: m_pEdit(new CFX_Edit), |
m_pEditCaret(nullptr), |