summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_font/ttgsubtable.cpp
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-06-20 11:37:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-20 11:37:05 -0700
commitbff506d3b5e03891c137d9fe18f65cae112ebf2a (patch)
treec7e45a164599bc5917d570576d24860d6a59c4e5 /core/fpdfapi/fpdf_font/ttgsubtable.cpp
parent338a6b75994eb148d429b7abccfffaf7ae9f9b55 (diff)
downloadpdfium-bff506d3b5e03891c137d9fe18f65cae112ebf2a.tar.xz
Change func(void) to func()
Since PDFium is compiled as C++ code, the void keyword is not needed. BUG=pdfium:519 Review-Url: https://codereview.chromium.org/2084603003
Diffstat (limited to 'core/fpdfapi/fpdf_font/ttgsubtable.cpp')
-rw-r--r--core/fpdfapi/fpdf_font/ttgsubtable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_font/ttgsubtable.cpp b/core/fpdfapi/fpdf_font/ttgsubtable.cpp
index 8900e274fe..56a388203f 100644
--- a/core/fpdfapi/fpdf_font/ttgsubtable.cpp
+++ b/core/fpdfapi/fpdf_font/ttgsubtable.cpp
@@ -61,7 +61,7 @@ FX_BOOL CFX_GlyphMap::Lookup(int key, int& value) {
return TRUE;
}
-CFX_CTTGSUBTable::CFX_CTTGSUBTable(void)
+CFX_CTTGSUBTable::CFX_CTTGSUBTable()
: m_bFeautureMapLoad(FALSE), loaded(false) {}
CFX_CTTGSUBTable::CFX_CTTGSUBTable(FT_Bytes gsub)
@@ -71,7 +71,7 @@ CFX_CTTGSUBTable::CFX_CTTGSUBTable(FT_Bytes gsub)
CFX_CTTGSUBTable::~CFX_CTTGSUBTable() {}
-bool CFX_CTTGSUBTable::IsOk(void) const {
+bool CFX_CTTGSUBTable::IsOk() const {
return loaded;
}