summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-04-24 16:32:56 +0200
committerMichael Stahl <mstahl@redhat.com>2012-05-09 08:52:53 +0200
commite193ad831e5bbca09e9c2e5b355ce8fd9dfebe33 (patch)
treef5a902437cdc51b3e50acadf44385083e0969748 /sw/source/filter/html/htmlfld.cxx
parent35be7d7574cd0f45a18ee5838dd14cb1040890d4 (diff)
Convert SV_DECL_PTRARR(_HTMLAttrs) to std::deque
The code frequently inserts at both ends, so a deque made more sense.
Diffstat (limited to 'sw/source/filter/html/htmlfld.cxx')
-rw-r--r--sw/source/filter/html/htmlfld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlfld.cxx b/sw/source/filter/html/htmlfld.cxx
index 1c28e7daf65e..5fd29e85ad69 100644
--- a/sw/source/filter/html/htmlfld.cxx
+++ b/sw/source/filter/html/htmlfld.cxx
@@ -637,7 +637,7 @@ void SwHTMLParser::InsertComment( const String& rComment, const sal_Char *pTag )
sal_uLong nNodeIdx = pPam->GetPoint()->nNode.GetIndex();
xub_StrLen nIdx = pPam->GetPoint()->nContent.GetIndex();
- for( sal_uInt16 i = aSetAttrTab.Count(); i > 0; )
+ for( sal_uInt16 i = aSetAttrTab.size(); i > 0; )
{
_HTMLAttr *pAttr = aSetAttrTab[--i];
if( pAttr->GetSttParaIdx() != nNodeIdx ||