summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer/writer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/writer/writer.cxx')
-rw-r--r--sw/source/filter/writer/writer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 4f5cac8528d8..d5c19d868c13 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -108,7 +108,7 @@ void Writer_Impl::InsertBkmk(const ::sw::mark::IMark& rBkmk)
SvPtrarr* pArr = pBkmkNodePos->Get( nNd );
if( !pArr )
{
- pArr = new SvPtrarr( 1, 4 );
+ pArr = new SvPtrarr( 1 );
pBkmkNodePos->Insert( nNd, pArr );
}
@@ -121,7 +121,7 @@ void Writer_Impl::InsertBkmk(const ::sw::mark::IMark& rBkmk)
pArr = pBkmkNodePos->Get( nNd );
if( !pArr )
{
- pArr = new SvPtrarr( 1, 4 );
+ pArr = new SvPtrarr( 1 );
pBkmkNodePos->Insert( nNd, pArr );
}
pArr->Insert( p, pArr->Count() );
@@ -473,7 +473,7 @@ void Writer::_AddFontItem( SfxItemPool& rPool, const SvxFontItem& rFont )
{
if (!m_pImpl->pFontRemoveLst)
{
- m_pImpl->pFontRemoveLst = new SvPtrarr( 0, 10 );
+ m_pImpl->pFontRemoveLst = new SvPtrarr( 0 );
}
void* p = (void*)pItem;