summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-26 17:20:31 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-26 17:21:20 +0900
commitd5c59404bec65c8a9d9e05c1fcc24e068d170924 (patch)
treef19f1aca9c529e78509b2ad777ae52dcabc52c71 /xmloff
parentd60301d03b098e1d45b8de6b169e9fb54600c3f1 (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 53c8e33b4129..dab81a0c6791 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <memory>
-
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/matrix/b3dhommatrix.hxx>
@@ -112,6 +110,7 @@
#include "xexptran.hxx"
#include "XMLBase64Export.hxx"
#include "XMLImageMapExport.hxx"
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::xmloff::EnhancedCustomShapeToken;
@@ -562,7 +561,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
sal_Int32 nZIndex = 0;
uno::Reference< beans::XPropertySet > xSet( xShape, uno::UNO_QUERY );
- ::std::auto_ptr< SvXMLElementExport > mpHyperlinkElement;
+ boost::scoped_ptr< SvXMLElementExport > mpHyperlinkElement;
// export hyperlinks with <a><shape/></a>. Currently only in draw since draw
// does not support document events