summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-02-06 19:27:39 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-02-07 00:35:37 -0500
commit14b9d7c75f65757e0fd281e34012ae2feabd85c1 (patch)
tree3a9eec4a1f2bfb2869a99fc3685390ae12eeab19 /xmloff/inc
parent72832c448f18381e53cc13dab56df66db21835bd (diff)
Those auto_ptr can be replaced with boost::scoped_ptr.
Change-Id: I2aa68c7bf265943e3d015a069fab461882c81554
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/xmloff/txtimp.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/inc/xmloff/txtimp.hxx b/xmloff/inc/xmloff/txtimp.hxx
index a5909ef41f59..000399109615 100644
--- a/xmloff/inc/xmloff/txtimp.hxx
+++ b/xmloff/inc/xmloff/txtimp.hxx
@@ -25,9 +25,9 @@
#include <com/sun/star/uno/Reference.h>
#include <map>
-#include <memory>
#include <boost/utility.hpp>
#include <boost/shared_ptr.hpp>
+#include <boost/scoped_ptr.hpp>
#include <xmloff/xmltkmap.hxx>
#include <comphelper/stl_types.hxx>
@@ -371,7 +371,7 @@ class XMLOFF_DLLPUBLIC XMLTextImportHelper : public UniRefBase,
{
private:
struct Impl;
- ::std::auto_ptr<Impl> m_pImpl;
+ boost::scoped_ptr<Impl> m_pImpl;
/// ugly, but implementation of this is in XMLPropertyBackpatcher.cxx
struct BackpatcherImpl;
::boost::shared_ptr<BackpatcherImpl> m_pBackpatcherImpl;