summaryrefslogtreecommitdiffstats
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:30:23 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2014-02-25 16:33:15 +0900
commit4a9347fa320d892b60fd03082925f63a1d69cfb9 (patch)
treed4cd8ab03b5cd5b70e5637acbc471c7953a8165a /svx/source/tbxctrls
parentharmonize Tell() Seek() type. (diff)
downloadcore-4a9347fa320d892b60fd03082925f63a1d69cfb9.tar.gz
core-4a9347fa320d892b60fd03082925f63a1d69cfb9.zip
Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I8e11ffe888aac8887c4c0875c41de51f343debae
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbunocontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx
index 62806157d50d..8897f3115738 100644
--- a/svx/source/tbxctrls/tbunocontroller.cxx
+++ b/svx/source/tbxctrls/tbunocontroller.cxx
@@ -35,7 +35,7 @@
#include <comphelper/processfactory.hxx>
#include <cppuhelper/supportsservice.hxx>
-#include <memory>
+#include <boost/scoped_ptr.hpp>
#define LOGICAL_EDIT_HEIGHT 12
@@ -202,7 +202,7 @@ void SvxFontSizeBox_Impl::UpdateFont( const ::com::sun::star::awt::FontDescripto
// Sizes-Liste auff"ullen
sal_Int64 nOldVal = GetValue(); // alten Wert merken
const FontList* _pFontList = NULL;
- ::std::auto_ptr<FontList> aHold( new FontList( this ));
+ boost::scoped_ptr<FontList> aHold( new FontList( this ));
_pFontList = aHold.get();
if ( !rCurrentFont.Name.isEmpty() )