summaryrefslogtreecommitdiff
path: root/toolkit
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 /toolkit
parentd60301d03b098e1d45b8de6b169e9fb54600c3f1 (diff)
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index f1dfb723f4d9..3af23cb198be 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -49,8 +49,8 @@
#include <vcl/svapp.hxx>
#include <uno/data.h>
-#include <memory>
#include <set>
+#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -1326,7 +1326,7 @@ void UnoControlModel::setPropertyValues( const ::com::sun::star::uno::Sequence<
{
// if somebody sets properties which are single aspects of a font descriptor,
// remove them, and build a font descriptor instead
- ::std::auto_ptr< awt::FontDescriptor > pFD;
+ boost::scoped_ptr< awt::FontDescriptor > pFD;
for ( sal_uInt16 n = 0; n < nProps; ++n )
{
if ( ( pHandles[n] >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( pHandles[n] <= BASEPROPERTY_FONTDESCRIPTORPART_END ) )