You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/08/05 15:10:32 UTC
svn commit: r1510469 - in /openoffice/trunk/main/sw/source/core/unocore:
unocoll.cxx unodraw.cxx
Author: hdu
Date: Mon Aug 5 13:10:32 2013
New Revision: 1510469
URL: http://svn.apache.org/r1510469
Log:
#i122959# single-linked lists that are often extended at the end are inefficient
Modified:
openoffice/trunk/main/sw/source/core/unocore/unocoll.cxx
openoffice/trunk/main/sw/source/core/unocore/unodraw.cxx
Modified: openoffice/trunk/main/sw/source/core/unocore/unocoll.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/unocore/unocoll.cxx?rev=1510469&r1=1510468&r2=1510469&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/core/unocore/unocoll.cxx (original)
+++ openoffice/trunk/main/sw/source/core/unocore/unocoll.cxx Mon Aug 5 13:10:32 2013
@@ -64,7 +64,7 @@
#include <unochart.hxx>
#include <comphelper/makesequence.hxx>
#include <comphelper/sequence.hxx>
-#include <slist>
+#include <list>
#include <iterator>
#include <unosection.hxx>
#include <unoparagraph.hxx>
@@ -826,7 +826,7 @@ namespace
: public SwSimpleEnumeration_Base
{
private:
- typedef ::std::slist< Any > frmcontainer_t;
+ typedef ::std::list< Any > frmcontainer_t;
frmcontainer_t m_aFrames;
protected:
virtual ~SwXFrameEnumeration() {};
Modified: openoffice/trunk/main/sw/source/core/unocore/unodraw.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/unocore/unodraw.cxx?rev=1510469&r1=1510468&r2=1510469&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/core/unocore/unodraw.cxx (original)
+++ openoffice/trunk/main/sw/source/core/unocore/unodraw.cxx Mon Aug 5 13:10:32 2013
@@ -80,7 +80,7 @@
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <com/sun/star/drawing/PointSequence.hpp>
#include <vcl/svapp.hxx>
-#include <slist>
+#include <list>
#include <iterator>
#include <switerator.hxx>
@@ -409,7 +409,7 @@ namespace
: public SwSimpleEnumeration_Base
{
private:
- typedef ::std::slist< ::com::sun::star::uno::Any > shapescontainer_t;
+ typedef ::std::list< ::com::sun::star::uno::Any > shapescontainer_t;
shapescontainer_t m_aShapes;
protected:
virtual ~SwXShapesEnumeration() {};