[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Thu May 28 01:07:41 PDT 2015


 sw/source/filter/html/htmltab.cxx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit f9e0e3a4eb8a23bfb9fb66055511c53d120e6579
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu May 28 10:06:44 2015 +0200

    sw: -Werror=shadow
    
    Change-Id: If09cc703bf1a922c6b3a1f584f23e5867ea7ad5f

diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 0becb42..d01333d 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -2989,7 +2989,7 @@ class _SectionSaveStruct : public SwPendingStackData
 
 public:
 
-    HTMLTable *pTable;
+    HTMLTable *m_pTable;
 
     explicit _SectionSaveStruct( SwHTMLParser& rParser );
     virtual ~_SectionSaveStruct();
@@ -3003,7 +3003,7 @@ public:
 _SectionSaveStruct::_SectionSaveStruct( SwHTMLParser& rParser ) :
     nBaseFontStMinSave(0), nFontStMinSave(0), nFontStHeadStartSave(0),
     nDefListDeepSave(0), nContextStMinSave(0), nContextStAttrMinSave(0),
-    pTable( 0 )
+    m_pTable( 0 )
 {
     // Font-Stacks einfrieren
     nBaseFontStMinSave = rParser.nBaseFontStMin;
@@ -3884,7 +3884,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
                     // nur wenn eine neue Tabelle aufgemacht wird, aber
                     // nicht wenn nach einem Pending in der Tabelle
                     // weitergelesen wird!
-                    pSaveStruct->pTable = pTable;
+                    pSaveStruct->m_pTable = pTable;
 
                     // HACK: Eine Section fuer eine Tabelle anlegen, die
                     // in einen Rahmen kommt.
@@ -3991,7 +3991,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, bool bReadOptions,
                         }
                     }
 
-                    pTable = pSaveStruct->pTable;
+                    pTable = pSaveStruct->m_pTable;
                 }
             }
             break;
@@ -4858,8 +4858,8 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable )
         case HTML_TABLE_ON:
             if( !pPendStack )
             {
-                pSaveStruct->pTable = pTable;
-                bool bHasToFly = pSaveStruct->pTable!=pCurTable;
+                pSaveStruct->m_pTable = pTable;
+                bool bHasToFly = pSaveStruct->m_pTable!=pCurTable;
                 BuildTable( pCurTable->GetTableAdjust( true ),
                             false, true, bHasToFly );
             }
@@ -4869,7 +4869,7 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable )
             }
             if( SVPAR_PENDING != GetStatus() )
             {
-                pTable = pSaveStruct->pTable;
+                pTable = pSaveStruct->m_pTable;
             }
             break;
         case HTML_TABLE_OFF:


More information about the Libreoffice-commits mailing list