summaryrefslogtreecommitdiff
path: root/core/fxcrt/fx_basic_gcc.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-07 10:46:22 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-07 10:46:23 -0700
commit4997b22f84307521a62838f874928bf56cd3423c (patch)
treead11d99ac0a491ee222e9d0a42ec3b6ad3354e2a /core/fxcrt/fx_basic_gcc.cpp
parent0687e76dc259c678b3f29a6608331f07ffd8f1e2 (diff)
downloadpdfium-4997b22f84307521a62838f874928bf56cd3423c.tar.xz
Get rid of NULLs in core/
Review-Url: https://codereview.chromium.org/2032613003
Diffstat (limited to 'core/fxcrt/fx_basic_gcc.cpp')
-rw-r--r--core/fxcrt/fx_basic_gcc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcrt/fx_basic_gcc.cpp b/core/fxcrt/fx_basic_gcc.cpp
index a55a486293..3547e5fbf0 100644
--- a/core/fxcrt/fx_basic_gcc.cpp
+++ b/core/fxcrt/fx_basic_gcc.cpp
@@ -138,7 +138,7 @@ FXSYS_FILE* FXSYS_wfopen(const FX_WCHAR* filename, const FX_WCHAR* mode) {
}
char* FXSYS_strlwr(char* str) {
if (!str) {
- return NULL;
+ return nullptr;
}
char* s = str;
while (*str) {
@@ -149,7 +149,7 @@ char* FXSYS_strlwr(char* str) {
}
char* FXSYS_strupr(char* str) {
if (!str) {
- return NULL;
+ return nullptr;
}
char* s = str;
while (*str) {
@@ -160,7 +160,7 @@ char* FXSYS_strupr(char* str) {
}
FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) {
if (!str) {
- return NULL;
+ return nullptr;
}
FX_WCHAR* s = str;
while (*str) {
@@ -171,7 +171,7 @@ FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) {
}
FX_WCHAR* FXSYS_wcsupr(FX_WCHAR* str) {
if (!str) {
- return NULL;
+ return nullptr;
}
FX_WCHAR* s = str;
while (*str) {