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

sc: boost::ptr_vector->std::vector

Change-Id: I667ffd21cd4454538a38b19a0a0a69e811c5b54b
üst 438a3f77
...@@ -106,9 +106,8 @@ void ScHTMLExport::FillGraphList( const SdrPage* pPage, SCTAB nTab, ...@@ -106,9 +106,8 @@ void ScHTMLExport::FillGraphList( const SdrPage* pPage, SCTAB nTab,
aSpace.Width() /= 2; aSpace.Width() /= 2;
aSpace.Height() /= 2; aSpace.Height() /= 2;
} }
ScHTMLGraphEntry* pE = new ScHTMLGraphEntry( pObject, aGraphList.push_back( ScHTMLGraphEntry( pObject,
aR, aSize, bInCell, aSpace ); aR, aSize, bInCell, aSpace ) );
aGraphList.push_back( pE );
} }
pObject = aIter.Next(); pObject = aIter.Next();
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <rtl/textenc.h> #include <rtl/textenc.h>
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tools/color.hxx> #include <tools/color.hxx>
#include <boost/ptr_container/ptr_vector.hpp> #include <vector>
#include <memory> #include <memory>
#include "expbase.hxx" #include "expbase.hxx"
...@@ -102,7 +102,7 @@ class ScHTMLExport : public ScExportBase ...@@ -102,7 +102,7 @@ class ScHTMLExport : public ScExportBase
static const sal_Char sIndentSource[]; static const sal_Char sIndentSource[];
typedef std::unique_ptr<std::map<OUString, OUString> > FileNameMapPtr; typedef std::unique_ptr<std::map<OUString, OUString> > FileNameMapPtr;
typedef boost::ptr_vector<ScHTMLGraphEntry> GraphEntryList; typedef std::vector<ScHTMLGraphEntry> GraphEntryList;
GraphEntryList aGraphList; GraphEntryList aGraphList;
ScHTMLStyle aHTMLStyle; ScHTMLStyle aHTMLStyle;
......
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