summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-24 10:15:38 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-24 10:20:51 +0900
commita53577e6ff3629c4e9219616960d89eea9463593 (patch)
treed3de26160561582955335c573019f5eb6f9b3753 /filter
parentooxml export: w14:reflection element (diff)
downloadcore-a53577e6ff3629c4e9219616960d89eea9463593.tar.gz
core-a53577e6ff3629c4e9219616960d89eea9463593.zip
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I55292f5f0049e7c77d5bb0e5ef5fa187b815d159
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgwriter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 6b3f04da56e5..a124abf2d726 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -29,6 +29,7 @@
#include <xmloff/unointerfacetouniqueidentifiermapper.hxx>
#include <sax/tools/converter.hxx>
+#include <boost/scoped_ptr.hpp>
#include <boost/shared_array.hpp>
@@ -196,7 +197,7 @@ void SVGAttributeWriter::AddGradientDef( const Rectangle& rObjRect, const Gradie
( rGradientId = "Gradient_" ) += OUString::number( nCurGradientId++ ) );
{
- ::std::auto_ptr< SvXMLElementExport > apGradient;
+ boost::scoped_ptr< SvXMLElementExport > apGradient;
OUString aColorStr;
if( rGradient.GetStyle() == GradientStyle_LINEAR || rGradient.GetStyle() == GradientStyle_AXIAL )