summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/icgm
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/graphicfilter/icgm')
-rw-r--r--filter/source/graphicfilter/icgm/bundles.cxx4
-rw-r--r--filter/source/graphicfilter/icgm/class4.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index d310891c1ceb..6062b9b3a9c5 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -21,7 +21,7 @@
#include "bundles.hxx"
#include <tools/stream.hxx>
-#include <boost/scoped_array.hpp>
+#include <memory>
Bundle& Bundle::operator=( Bundle& rSource )
{
@@ -184,7 +184,7 @@ void CGMFList::InsertName( sal_uInt8* pSource, sal_uInt32 nSize )
pFontEntry = aFontEntryList[ nFontNameCount ];
}
nFontNameCount++;
- boost::scoped_array<sal_Int8> pBuf(new sal_Int8[ nSize ]);
+ std::unique_ptr<sal_Int8[]> pBuf(new sal_Int8[ nSize ]);
memcpy( pBuf.get(), pSource, nSize );
sal_Int8* pFound = ImplSearchEntry( pBuf.get(), reinterpret_cast<sal_Int8 const *>("ITALIC"), nSize, 6 );
if ( pFound )
diff --git a/filter/source/graphicfilter/icgm/class4.cxx b/filter/source/graphicfilter/icgm/class4.cxx
index 4544a3ff6b90..e484e52d739f 100644
--- a/filter/source/graphicfilter/icgm/class4.cxx
+++ b/filter/source/graphicfilter/icgm/class4.cxx
@@ -22,7 +22,7 @@
#include <chart.hxx>
#include <outact.hxx>
#include <math.h>
-#include <boost/scoped_array.hpp>
+#include <memory>
using namespace ::com::sun::star;
@@ -271,7 +271,7 @@ void CGM::ImplDoClass4()
mpOutAct->CloseRegion();
sal_uInt16 nPoints = 0;
- boost::scoped_array<Point> pPoints(new Point[ 0x4000 ]);
+ std::unique_ptr<Point[]> pPoints(new Point[ 0x4000 ]);
tools::PolyPolygon aPolyPolygon;
FloatPoint aFloatPoint;