Kaydet (Commit) f9e0e3a4 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: -Werror=shadow

Change-Id: If09cc703bf1a922c6b3a1f584f23e5867ea7ad5f
üst a14d7e3b
...@@ -2989,7 +2989,7 @@ class _SectionSaveStruct : public SwPendingStackData ...@@ -2989,7 +2989,7 @@ class _SectionSaveStruct : public SwPendingStackData
public: public:
HTMLTable *pTable; HTMLTable *m_pTable;
explicit _SectionSaveStruct( SwHTMLParser& rParser ); explicit _SectionSaveStruct( SwHTMLParser& rParser );
virtual ~_SectionSaveStruct(); virtual ~_SectionSaveStruct();
...@@ -3003,7 +3003,7 @@ public: ...@@ -3003,7 +3003,7 @@ public:
_SectionSaveStruct::_SectionSaveStruct( SwHTMLParser& rParser ) : _SectionSaveStruct::_SectionSaveStruct( SwHTMLParser& rParser ) :
nBaseFontStMinSave(0), nFontStMinSave(0), nFontStHeadStartSave(0), nBaseFontStMinSave(0), nFontStMinSave(0), nFontStHeadStartSave(0),
nDefListDeepSave(0), nContextStMinSave(0), nContextStAttrMinSave(0), nDefListDeepSave(0), nContextStMinSave(0), nContextStAttrMinSave(0),
pTable( 0 ) m_pTable( 0 )
{ {
// Font-Stacks einfrieren // Font-Stacks einfrieren
nBaseFontStMinSave = rParser.nBaseFontStMin; nBaseFontStMinSave = rParser.nBaseFontStMin;
...@@ -3884,7 +3884,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions, ...@@ -3884,7 +3884,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
// nur wenn eine neue Tabelle aufgemacht wird, aber // nur wenn eine neue Tabelle aufgemacht wird, aber
// nicht wenn nach einem Pending in der Tabelle // nicht wenn nach einem Pending in der Tabelle
// weitergelesen wird! // weitergelesen wird!
pSaveStruct->pTable = pTable; pSaveStruct->m_pTable = pTable;
// HACK: Eine Section fuer eine Tabelle anlegen, die // HACK: Eine Section fuer eine Tabelle anlegen, die
// in einen Rahmen kommt. // in einen Rahmen kommt.
...@@ -3991,7 +3991,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions, ...@@ -3991,7 +3991,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
} }
} }
pTable = pSaveStruct->pTable; pTable = pSaveStruct->m_pTable;
} }
} }
break; break;
...@@ -4858,8 +4858,8 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable ) ...@@ -4858,8 +4858,8 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable )
case HTML_TABLE_ON: case HTML_TABLE_ON:
if( !pPendStack ) if( !pPendStack )
{ {
pSaveStruct->pTable = pTable; pSaveStruct->m_pTable = pTable;
bool bHasToFly = pSaveStruct->pTable!=pCurTable; bool bHasToFly = pSaveStruct->m_pTable!=pCurTable;
BuildTable( pCurTable->GetTableAdjust( true ), BuildTable( pCurTable->GetTableAdjust( true ),
false, true, bHasToFly ); false, true, bHasToFly );
} }
...@@ -4869,7 +4869,7 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable ) ...@@ -4869,7 +4869,7 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable )
} }
if( SVPAR_PENDING != GetStatus() ) if( SVPAR_PENDING != GetStatus() )
{ {
pTable = pSaveStruct->pTable; pTable = pSaveStruct->m_pTable;
} }
break; break;
case HTML_TABLE_OFF: case HTML_TABLE_OFF:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment