diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-01 16:25:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-01 16:26:44 +0000 |
commit | 6c9aa14ca7335ca5e2d3c3353f5142c48d6ef0c2 (patch) | |
tree | 0d56b907f48dfdfcc69aa7e280bf3744dbc5bb91 /lotuswordpro | |
parent | a9be0b6a4e39240871a9b35ae9afd04f242a3ea4 (diff) |
build WordProCellsMap much faster
Change-Id: I1fbc1f7ec14c8133fb8fcd3532d5d551dcc7ddfb
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 5 |
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(); |