Remove unnecessary wxHtmlPrintout members initialization
Don't initialize strings to their default (empty) value, this is just useless.
This commit is contained in:
@@ -194,9 +194,7 @@ wxList wxHtmlPrintout::m_Filters;
|
|||||||
wxHtmlPrintout::wxHtmlPrintout(const wxString& title) : wxPrintout(title)
|
wxHtmlPrintout::wxHtmlPrintout(const wxString& title) : wxPrintout(title)
|
||||||
{
|
{
|
||||||
m_NumPages = INT_MAX;
|
m_NumPages = INT_MAX;
|
||||||
m_Document = m_BasePath = wxEmptyString; m_BasePathIsDir = true;
|
m_BasePathIsDir = true;
|
||||||
m_Headers[0] = m_Headers[1] = wxEmptyString;
|
|
||||||
m_Footers[0] = m_Footers[1] = wxEmptyString;
|
|
||||||
m_HeaderHeight = m_FooterHeight = 0;
|
m_HeaderHeight = m_FooterHeight = 0;
|
||||||
SetMargins(); // to default values
|
SetMargins(); // to default values
|
||||||
SetStandardFonts(DEFAULT_PRINT_FONT_SIZE);
|
SetStandardFonts(DEFAULT_PRINT_FONT_SIZE);
|
||||||
|
Reference in New Issue
Block a user