diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-10-08 18:45:00 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-10-08 20:33:58 +0200 |
commit | 9b8f1aa0b0d78de2d887d863ca0495fe35a29311 (patch) | |
tree | b3169cf3adcf8593b82dad7f9fbfa5195c4b1759 /sw | |
parent | b76a087f73cdf3d1a8bcc56b1ed7a5959ca0f1bd (diff) |
Replace list by vector in frmtool (sw)
Change-Id: Ic29b8497227abfe1f407ad548037a8eaec318bcc
Reviewed-on: https://gerrit.libreoffice.org/43243
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |