lotuswordpro/source/filter/lwptablelayout.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 6c9aa14ca7335ca5e2d3c3353f5142c48d6ef0c2 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Mar 1 16:25:57 2017 +0000 build WordProCellsMap much faster Change-Id: I1fbc1f7ec14c8133fb8fcd3532d5d551dcc7ddfb diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index 6914cf4..5e42c10 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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits