FX Bool considered harmful, part 3
[pdfium.git] / fpdfsdk / src / fxedit / fxet_module.cpp
index b13af89..d142164 100644 (file)
@@ -1,46 +1,46 @@
-// Copyright 2014 PDFium Authors. All rights reserved.\r
-// Use of this source code is governed by a BSD-style license that can be\r
-// found in the LICENSE file.\r
\r
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
-\r
-#include "../../include/fxedit/fxet_stub.h"\r
-#include "../../include/fxedit/fxet_edit.h"\r
-#include "../../include/fxedit/fxet_list.h"\r
-\r
-/* ---------------------- IFX_Edit ---------------------- */\r
-\r
-IFX_Edit* IFX_Edit::NewEdit()\r
-{\r
-       if (IPDF_VariableText * pVT = IPDF_VariableText::NewVariableText())\r
-       {\r
-               return new CFX_Edit(pVT);\r
-       }\r
-\r
-       return NULL;\r
-}\r
-\r
-void IFX_Edit::DelEdit(IFX_Edit* pEdit)\r
-{\r
-       ASSERT(pEdit != NULL);\r
-\r
-       IPDF_VariableText::DelVariableText(pEdit->GetVariableText());\r
-\r
-       delete (CFX_Edit*)pEdit;\r
-}\r
-\r
-\r
-/* ---------------------- IFX_List ---------------------- */\r
-\r
-IFX_List* IFX_List::NewList()\r
-{\r
-       return new CFX_ListCtrl();\r
-}\r
-\r
-void IFX_List::DelList(IFX_List* pList)\r
-{\r
-       ASSERT(pList != NULL);\r
-\r
-       delete (CFX_ListCtrl*)pList;\r
-}\r
-\r
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "../../include/fxedit/fxet_stub.h"
+#include "../../include/fxedit/fxet_edit.h"
+#include "../../include/fxedit/fxet_list.h"
+
+/* ---------------------- IFX_Edit ---------------------- */
+
+IFX_Edit* IFX_Edit::NewEdit()
+{
+       if (IPDF_VariableText * pVT = IPDF_VariableText::NewVariableText())
+       {
+               return new CFX_Edit(pVT);
+       }
+
+       return NULL;
+}
+
+void IFX_Edit::DelEdit(IFX_Edit* pEdit)
+{
+       ASSERT(pEdit != NULL);
+
+       IPDF_VariableText::DelVariableText(pEdit->GetVariableText());
+
+       delete (CFX_Edit*)pEdit;
+}
+
+
+/* ---------------------- IFX_List ---------------------- */
+
+IFX_List* IFX_List::NewList()
+{
+       return new CFX_ListCtrl();
+}
+
+void IFX_List::DelList(IFX_List* pList)
+{
+       ASSERT(pList != NULL);
+
+       delete (CFX_ListCtrl*)pList;
+}
+