summaryrefslogtreecommitdiff
path: root/fpdfsdk/src
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
committerNico Weber <thakis@chromium.org>2014-07-30 19:00:31 -0700
commit55681f9c135c978cf4ca525dc1d26ff330e83029 (patch)
tree247345a0fb6748af9b868151b1ea59f742e91ba6 /fpdfsdk/src
parentec570e5f77986f6013ea42741001be5a3fcf47a7 (diff)
downloadpdfium-55681f9c135c978cf4ca525dc1d26ff330e83029.tar.xz
Remove a few unused variables, functions, and member variables.
No intended behavior change. BUG=pdfium:29 R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/426763003
Diffstat (limited to 'fpdfsdk/src')
-rw-r--r--fpdfsdk/src/formfiller/FFL_Notify.cpp3
-rw-r--r--fpdfsdk/src/formfiller/FFL_TextField.cpp2
-rw-r--r--fpdfsdk/src/javascript/PublicMethods.cpp2
-rw-r--r--fpdfsdk/src/javascript/app.cpp1
-rw-r--r--fpdfsdk/src/pdfwindow/PWL_Note.cpp3
5 files changed, 4 insertions, 7 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_Notify.cpp b/fpdfsdk/src/formfiller/FFL_Notify.cpp
index f6a2feb4a1..73ab5dbb85 100644
--- a/fpdfsdk/src/formfiller/FFL_Notify.cpp
+++ b/fpdfsdk/src/formfiller/FFL_Notify.cpp
@@ -15,11 +15,10 @@
//#pragma warning(disable: 4800)
CFFL_Notify::CFFL_Notify(CFFL_FormFiller * pFormFiller) :
- m_pFormFiller(pFormFiller),
m_bDoActioning(FALSE),
m_nNotifyFlag(0)
{
- ASSERT(m_pFormFiller != NULL);
+ ASSERT(pFormFiller != NULL);
}
CFFL_Notify::~CFFL_Notify()
diff --git a/fpdfsdk/src/formfiller/FFL_TextField.cpp b/fpdfsdk/src/formfiller/FFL_TextField.cpp
index 8cd62fa025..45c716280c 100644
--- a/fpdfsdk/src/formfiller/FFL_TextField.cpp
+++ b/fpdfsdk/src/formfiller/FFL_TextField.cpp
@@ -10,7 +10,7 @@
#include "../../include/formfiller/FFL_CBA_Fontmap.h"
//#include "../include/FFL_Notify.h"
-CFFL_EditUndoItem::CFFL_EditUndoItem(CPWL_Edit* pEdit) : m_pEdit(pEdit)
+CFFL_EditUndoItem::CFFL_EditUndoItem(CPWL_Edit* pEdit)
{
}
diff --git a/fpdfsdk/src/javascript/PublicMethods.cpp b/fpdfsdk/src/javascript/PublicMethods.cpp
index e307f432d3..1bd980af14 100644
--- a/fpdfsdk/src/javascript/PublicMethods.cpp
+++ b/fpdfsdk/src/javascript/PublicMethods.cpp
@@ -1074,7 +1074,7 @@ FX_BOOL CJS_PublicMethods::AFNumber_Format(OBJ_METHOD_PARAMS)
int iDec = params[0];
int iSepStyle = params[1];
int iNegStyle = params[2];
- int icurrStyle = params[3]; //it's no use!
+ // params[3] is iCurrStyle, it's not used.
std::wstring wstrCurrency(params[4].operator CFX_WideString());
FX_BOOL bCurrencyPrepend = params[5];
diff --git a/fpdfsdk/src/javascript/app.cpp b/fpdfsdk/src/javascript/app.cpp
index 0546be8f86..c9a9ef7017 100644
--- a/fpdfsdk/src/javascript/app.cpp
+++ b/fpdfsdk/src/javascript/app.cpp
@@ -120,7 +120,6 @@ IMPLEMENT_JS_CLASS(CJS_App,app)
app::app(CJS_Object * pJSObject) : CJS_EmbedObj(pJSObject) ,
m_bCalculate(true),
- m_pRuntime(NULL),
m_bRuntimeHighLight(false)
// m_pMenuHead(NULL)
{
diff --git a/fpdfsdk/src/pdfwindow/PWL_Note.cpp b/fpdfsdk/src/pdfwindow/PWL_Note.cpp
index 5929a357c9..b04b0f5003 100644
--- a/fpdfsdk/src/pdfwindow/PWL_Note.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_Note.cpp
@@ -1213,8 +1213,7 @@ CPWL_Note::CPWL_Note(IPopup_Note* pPopupNote, IPWL_NoteNotify* pNoteNotify, IPWL
m_rcCaption(0,0,0,0),
m_pNoteNotify(pNoteNotify),
m_bEnalbleNotify(TRUE),
- m_pPopupNote(pPopupNote),
- m_pNoteHandler(pNoteHandler)
+ m_pPopupNote(pPopupNote)
{
}