summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 15:00:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:05 +0100
commit871426533f7afe31bc451fa6b407b83db8e52827 (patch)
treeed60cee61ebee91994eaffc9c9a3638836ed2ab4 /svtools
parent5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff)
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/roadmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index ae9621565076..937561a04bd9 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -39,7 +39,7 @@
#include <vcl/bitmap.hxx>
#include <tools/color.hxx>
#include <rtl/ustring.hxx>
-#include <memory>
+#include <boost/scoped_ptr.hpp>
#define ROADMAP_INDENT_X 4
#define ROADMAP_INDENT_Y 27
@@ -919,11 +919,11 @@ namespace svt
RoadmapItem::~RoadmapItem( )
{
{
- ::std::auto_ptr<Control> aTemp(mpID);
+ boost::scoped_ptr<Control> xTakeOnership(mpID);
mpID = NULL;
}
{
- ::std::auto_ptr<Control> aTemp(mpDescription);
+ boost::scoped_ptr<Control> xTakeOnership(mpDescription);
mpDescription = NULL;
}
}