sw/source/core/layout/frmtool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9b8f1aa0b0d78de2d887d863ca0495fe35a29311 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Oct 8 18:45:00 2017 +0200 Replace list by vector in frmtool (sw) Change-Id: Ic29b8497227abfe1f407ad548037a8eaec318bcc Reviewed-on: https://gerrit.libreoffice.org/43243 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx index 359c7c680692..dde40a20ab2a 100644 --- a/sw/source/core/layout/frmtool.cxx +++ b/sw/source/core/layout/frmtool.cxx @@ -969,7 +969,7 @@ void AppendObjs( const SwFrameFormats *pTable, sal_uLong nIndex, SwFrame *pFrame, SwPageFrame *pPage, SwDoc* doc ) { #if OSL_DEBUG_LEVEL > 0 - std::list<SwFrameFormat*> checkFormats; + std::vector<SwFrameFormat*> checkFormats; for ( size_t i = 0; i < pTable->size(); ++i ) { SwFrameFormat *pFormat = (*pTable)[i]; @@ -993,7 +993,7 @@ void AppendObjs( const SwFrameFormats *pTable, sal_uLong nIndex, (rAnch.GetContentAnchor()->nNode.GetIndex() == nIndex) ) { #if OSL_DEBUG_LEVEL > 0 - std::list<SwFrameFormat*>::iterator checkPos = std::find( checkFormats.begin(), checkFormats.end(), pFormat ); + std::vector<SwFrameFormat*>::iterator checkPos = std::find( checkFormats.begin(), checkFormats.end(), pFormat ); assert( checkPos != checkFormats.end()); checkFormats.erase( checkPos ); #endif _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits