diff options
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index 193b3a654eb7..6df3af529232 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -1113,7 +1113,7 @@ void SwTextNode::Update( // at-char anchored flys shouldn't be moved, either. #if OSL_DEBUG_LEVEL > 0 - std::list<SwFrameFormat*> checkFormats; + std::vector<SwFrameFormat*> checkFormats; const SwFrameFormats& rFormats = *GetDoc()->GetSpzFrameFormats(); for (SwFrameFormats::const_iterator pFormat = rFormats.begin(); pFormat != rFormats.end(); ++pFormat) { @@ -1149,7 +1149,7 @@ void SwTextNode::Update( // The anchor position is exactly our insert position. rEndIdx.Assign(&aTmpIdxReg, rEndIdx.GetIndex()); #if OSL_DEBUG_LEVEL > 0 - std::list<SwFrameFormat*>::iterator checkPos = std::find( checkFormats.begin(), checkFormats.end(), pFormat ); + auto checkPos = std::find( checkFormats.begin(), checkFormats.end(), pFormat ); assert( checkPos != checkFormats.end()); checkFormats.erase( checkPos ); #endif |