diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-11-12 10:40:36 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-11-12 10:40:36 +0100 |
commit | d1175e253f73b0f75c41cfe2c3ef8273a16c0d48 (patch) | |
tree | 5cd09cb122af51b5f6dfb4e19b1c1984fcd60ff0 /sw/source/filter/ww8/wrtw8sty.cxx | |
parent | cc64c92439979c9261bf6373abcf5d58f91f955c (diff) |
#i10000# some additional fixes for CWS vmiklos01
Notes
split repo tag: writer_ooo/DEV300_m93
Diffstat (limited to 'sw/source/filter/ww8/wrtw8sty.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 3a8043697eca..4d16a5646536 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -784,9 +784,9 @@ void wwFontHelper::InitFontTable(bool bWrtWW8,const SwDoc& rDoc) const USHORT aTypes[] = { RES_CHRATR_FONT, RES_CHRATR_CJK_FONT, RES_CHRATR_CTL_FONT, 0 }; for (const USHORT* pId = aTypes; *pId; ++pId) { - USHORT nMaxItem = rPool.GetItemCount( *pId ); + USHORT nMaxItem = rPool.GetItemCount2( *pId ); for( USHORT nGet = 0; nGet < nMaxItem; ++nGet ) - if( 0 != (pFont = (const SvxFontItem*)rPool.GetItem( + if( 0 != (pFont = (const SvxFontItem*)rPool.GetItem2( *pId, nGet )) ) { GetId(wwFont(pFont->GetFamilyName(), pFont->GetPitch(), |