diff options
author | Noel Grandin <noel@peralex.com> | 2012-04-24 15:32:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-09 08:52:53 +0200 |
commit | 35be7d7574cd0f45a18ee5838dd14cb1040890d4 (patch) | |
tree | ecdae6ac1ae76f9edef27d2071d299c9aa0cfb22 /sw/source/filter/html/htmltab.cxx | |
parent | 33fe30af79bd665e338dcf730c3d8439b6e2cb78 (diff) |
Convert SV_DECL_PTRARR(_HTMLAttrContexts) to std::vector
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 201e3e771edc..a3a75c4da01e 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -3085,7 +3085,7 @@ _SectionSaveStruct::_SectionSaveStruct( SwHTMLParser& rParser ) : // Kontext-Stack einfrieren nContextStMinSave = rParser.nContextStMin; nContextStAttrMinSave = rParser.nContextStAttrMin; - rParser.nContextStMin = rParser.aContexts.Count(); + rParser.nContextStMin = rParser.aContexts.size(); rParser.nContextStAttrMin = rParser.nContextStMin; // und noch ein par Zaehler retten @@ -3900,7 +3900,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions, // irgendwo ausserhalb von Zellen Attribute gesetzt werden. // Darf nicht frueher passieren, weil eventuell noch im // Stack gesucht wird!!! - nContextStMin = aContexts.Count(); + nContextStMin = aContexts.size(); nContextStAttrMin = nContextStMin; } @@ -4177,7 +4177,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions, // Alle noch offenen Kontexte beenden. Wir nehmen hier // AttrMin, weil nContxtStMin evtl. veraendert wurde. // Da es durch EndContext wieder restauriert wird, geht das. - while( aContexts.Count() > nContextStAttrMin+1 ) + while( aContexts.size() > nContextStAttrMin+1 ) { _HTMLAttrContext *pCntxt = PopContext(); EndContext( pCntxt ); @@ -4197,7 +4197,7 @@ void SwHTMLParser::BuildTableCell( HTMLTable *pCurTable, sal_Bool bReadOptions, else { // Alle noch offenen Kontexte beenden - while( aContexts.Count() > nContextStAttrMin ) + while( aContexts.size() > nContextStAttrMin ) { _HTMLAttrContext *pCntxt = PopContext(); ClearContext( pCntxt ); @@ -4994,7 +4994,7 @@ void SwHTMLParser::BuildTableCaption( HTMLTable *pCurTable ) } // Alle noch offenen Kontexte beenden - while( aContexts.Count() > nContextStAttrMin+1 ) + while( aContexts.size() > nContextStAttrMin+1 ) { _HTMLAttrContext *pCntxt = PopContext(); EndContext( pCntxt ); @@ -5389,7 +5389,7 @@ HTMLTable *SwHTMLParser::BuildTable( SvxAdjust eParentAdjust, // ausserhalb von Zellen begonnene Kontexte beenden // muss vor(!) dem Umsetzten der Attribut Tabelle existieren, // weil die aktuelle danach nicht mehr existiert - while( aContexts.Count() > nContextStAttrMin ) + while( aContexts.size() > nContextStAttrMin ) { _HTMLAttrContext *pCntxt = PopContext(); ClearContext( pCntxt ); |