summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-30 10:17:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-30 13:35:43 +0100
commit66343a8aeb4328a61766e4df41515130290e8a93 (patch)
tree2a2dc7d5ca9bdbc01886e3d027b26009f9c40368 /filter
parent78c83032b266fbb6fc20ddca86df80affaff7c24 (diff)
shared_array->unique_ptr<[]>
where we don't need to share the data Change-Id: I0edc9d62186d96095ee67e3c93f5cf186dffcb71
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 37b84fd518bd..db8d1ce508f4 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -30,7 +30,6 @@
#include <sax/tools/converter.hxx>
#include <memory>
-#include <boost/shared_array.hpp>
static const char aXMLElemG[] = "g";
@@ -2422,7 +2421,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText,
else
aPos = rPos;
- boost::shared_array<long> xTmpArray(new long[nLen]);
+ std::unique_ptr<long[]> xTmpArray(new long[nLen]);
// get text sizes
if( pDXArray )
{