[1231183] 'cleanup: mismatched indentation' and other cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -132,7 +132,7 @@ wxUint32 wxTextInputStream::Read32(int base)
|
||||
if(!m_input) return 0;
|
||||
|
||||
wxString word = ReadWord();
|
||||
if(word.IsEmpty())
|
||||
if(word.empty())
|
||||
return 0;
|
||||
return wxStrtoul(word.c_str(), 0, base);
|
||||
}
|
||||
@@ -153,7 +153,7 @@ wxInt32 wxTextInputStream::Read32S(int base)
|
||||
if(!m_input) return 0;
|
||||
|
||||
wxString word = ReadWord();
|
||||
if(word.IsEmpty())
|
||||
if(word.empty())
|
||||
return 0;
|
||||
return wxStrtol(word.c_str(), 0, base);
|
||||
}
|
||||
@@ -172,7 +172,7 @@ double wxTextInputStream::ReadDouble()
|
||||
{
|
||||
if(!m_input) return 0;
|
||||
wxString word = ReadWord();
|
||||
if(word.IsEmpty())
|
||||
if(word.empty())
|
||||
return 0;
|
||||
return wxStrtod(word.c_str(), 0);
|
||||
}
|
||||
@@ -406,7 +406,7 @@ void wxTextOutputStream::WriteString(const wxString& string)
|
||||
}
|
||||
|
||||
out << c;
|
||||
}
|
||||
}
|
||||
|
||||
// We must not write the trailing NULL here
|
||||
#if wxUSE_UNICODE
|
||||
|
Reference in New Issue
Block a user