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