summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/standardcontrol.cxx
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 /extensions/source/propctrlr/standardcontrol.cxx
parent5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff)
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index b065ee6d899e..ee55c3d8845c 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -61,6 +61,7 @@
#include <memory>
#include <limits>
#include <boost/bind.hpp>
+#include <boost/scoped_ptr.hpp>
//............................................................................
namespace pcr
@@ -1079,16 +1080,16 @@ namespace pcr
DropDownEditControl::~DropDownEditControl()
{
{
- ::std::auto_ptr<Window> aTemp(m_pFloatingEdit);
+ boost::scoped_ptr<Window> aTemp(m_pFloatingEdit);
m_pFloatingEdit = NULL;
}
{
- ::std::auto_ptr<Window> aTemp(m_pImplEdit);
+ boost::scoped_ptr<Window> aTemp(m_pImplEdit);
SetSubEdit( NULL );
m_pImplEdit = NULL;
}
{
- ::std::auto_ptr<Window> aTemp(m_pDropdownButton);
+ boost::scoped_ptr<Window> aTemp(m_pDropdownButton);
m_pDropdownButton = NULL;
}
}