summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptablelayout.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx
index 6914cf4a8342..5e42c10408ba 100644
--- a/lotuswordpro/source/filter/lwptablelayout.cxx
+++ b/lotuswordpro/source/filter/lwptablelayout.cxx
@@ -460,10 +460,7 @@ void LwpTableLayout::TraverseTable()
sal_uInt32 nCount = m_nRows*m_nCols;
// new cell map nRow*nCOl and initialize
- for (sal_uInt32 iLoop = 0; iLoop < nCount; ++iLoop)
- {
- m_WordProCellsMap.push_back(GetDefaultCellLayout());
- }
+ m_WordProCellsMap.insert(m_WordProCellsMap.end(), nCount, m_pDefaultCellLayout);
// set value
LwpObjectID& rRowID = GetChildHead();