Kaydet (Commit) fe6554d1 authored tarafından Noel Grandin's avatar Noel Grandin

svtools: boost::ptr_vector->std::vector

Change-Id: Iee77fa2a6b8bc5d186157430c4bfeb7d29056129
üst aeeef71b
......@@ -22,7 +22,6 @@
#include <basegfx/range/b2drange.hxx>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <memory>
#include <cassert>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
......
......@@ -23,7 +23,7 @@
#include <rtl/textcvt.h>
#include <rtl/tencinfo.h>
#include <boost/ptr_container/ptr_vector.hpp>
#include <vector>
// structure to store the actuel data
struct SvParser_Impl
......@@ -650,7 +650,7 @@ IMPL_LINK_NOARG_TYPED( SvParser, NewDataRead, LinkParamNone*, void )
*
*======================================================================*/
typedef boost::ptr_vector<SvKeyValue> SvKeyValueList_Impl;
typedef std::vector<SvKeyValue> SvKeyValueList_Impl;
struct SvKeyValueIterator::Impl
{
......@@ -689,7 +689,7 @@ bool SvKeyValueIterator::GetNext (SvKeyValue &rKeyVal)
void SvKeyValueIterator::Append (const SvKeyValue &rKeyVal)
{
mpImpl->maList.push_back(new SvKeyValue(rKeyVal));
mpImpl->maList.push_back(rKeyVal);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment