Remove initializations of wxString with wxEmptyString
An empty string is the default
This commit is contained in:
parent
5e7db7c0f1
commit
d886f8cce9
@ -67,7 +67,6 @@ wxPrintData::wxPrintData()
|
||||
m_printCollate = false;
|
||||
|
||||
// New, 24/3/99
|
||||
m_printerName = wxEmptyString;
|
||||
m_colour = true;
|
||||
m_duplexMode = wxDUPLEX_SIMPLEX;
|
||||
m_printQuality = wxPRINT_QUALITY_HIGH;
|
||||
|
@ -153,7 +153,7 @@ wxString wxFileSystemHandler::GetMimeTypeFromExt(const wxString& location)
|
||||
/* static */
|
||||
wxString wxFileSystemHandler::GetProtocol(const wxString& location)
|
||||
{
|
||||
wxString s = wxEmptyString;
|
||||
wxString s;
|
||||
int i, l = location.length();
|
||||
bool fnd = false;
|
||||
|
||||
|
@ -312,7 +312,6 @@ wxArchiveFSHandler::wxArchiveFSHandler()
|
||||
{
|
||||
m_Archive = NULL;
|
||||
m_FindEntry = NULL;
|
||||
m_ZipFile = m_Pattern = m_BaseDir = wxEmptyString;
|
||||
m_AllowDirs = m_AllowFiles = true;
|
||||
m_DirsFound = NULL;
|
||||
m_cache = NULL;
|
||||
@ -477,7 +476,7 @@ wxString wxArchiveFSHandler::FindNext()
|
||||
wxString wxArchiveFSHandler::DoFind()
|
||||
{
|
||||
wxString namestr, dir, filename;
|
||||
wxString match = wxEmptyString;
|
||||
wxString match;
|
||||
|
||||
while (match == wxEmptyString)
|
||||
{
|
||||
|
@ -50,7 +50,6 @@ wxPrintPaperType::wxPrintPaperType()
|
||||
{
|
||||
m_paperId = wxPAPER_NONE;
|
||||
m_platformId = 0;
|
||||
m_paperName = wxEmptyString;
|
||||
m_width = 0;
|
||||
m_height = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user