diff options
author | Noel Grandin <noel@peralex.com> | 2012-05-16 15:23:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-25 00:17:05 +0200 |
commit | b620a39936ad2c1fd4067c9e82635c54ce73600b (patch) | |
tree | abcbec5d23faa9bedd7f347dc014755441180401 /sw/source/filter/writer | |
parent | f5af47f432185881ce82956d8ed520948feab296 (diff) |
Convert SV_DECL_PTRARR_DEL(SwNumRuleTbl) to std::vector
Could not use boost::ptr_vector here because the code manually
moves objects around.
Change-Id: I708270a967ee6663ab1f1ba8d7998c63fa698b8f
Diffstat (limited to 'sw/source/filter/writer')
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index 5942209fc9bf..9702d17badc5 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -372,7 +372,7 @@ void Writer::PutNumFmtFontsInAttrPool() const Font* pDefFont = &numfunc::GetDefBulletFont(); sal_Bool bCheck = sal_False; - for( sal_uInt16 nGet = rListTbl.Count(); nGet; ) + for( sal_uInt16 nGet = rListTbl.size(); nGet; ) if( pDoc->IsUsed( *(pRule = rListTbl[ --nGet ] ))) for( sal_uInt8 nLvl = 0; nLvl < MAXLEVEL; ++nLvl ) if( SVX_NUM_CHAR_SPECIAL == (pFmt = &pRule->Get( nLvl ))->GetNumberingType() || |