Ignore:
Timestamp:
Feb 26, 2013, 2:43:45 PM (7 years ago)
Author:
sam
Message:

base: start removing occurrences of NULL on our long journey to nullptr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/image/codec/gdiplus-image.cpp

    r2381 r2506  
    5454    ULONG_PTR token;
    5555    Gdiplus::GdiplusStartupInput input;
    56     status = Gdiplus::GdiplusStartup(&token, &input, NULL);
     56    status = Gdiplus::GdiplusStartup(&token, &input, nullptr);
    5757    if (status != Gdiplus::Ok)
    5858    {
     
    6464
    6565    Array<String> pathlist = System::GetPathList(path);
    66     m_bitmap = NULL;
     66    m_bitmap = nullptr;
    6767    for (int i = 0; i < pathlist.Count(); ++i)
    6868    {
    6969        size_t len;
    70         len = mbstowcs(NULL, pathlist[i].C(), 0);
     70        len = mbstowcs(nullptr, pathlist[i].C(), 0);
    7171        wchar_t *wpath = new wchar_t[len + 1];
    7272        if (mbstowcs(wpath, pathlist[i].C(), len + 1) == (size_t)-1)
     
    9393#endif
    9494                delete m_bitmap;
    95                 m_bitmap = NULL;
     95                m_bitmap = nullptr;
    9696            }
    9797        }
Note: See TracChangeset for help on using the changeset viewer.