summaryrefslogtreecommitdiffstats
path: root/svx/source/dialog
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/dialog
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/dialog')
-rw-r--r--svx/source/dialog/databaseregistrationui.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/databaseregistrationui.cxx b/svx/source/dialog/databaseregistrationui.cxx
index 4e6d1b48b4d4..1b1f40d0f226 100644
--- a/svx/source/dialog/databaseregistrationui.cxx
+++ b/svx/source/dialog/databaseregistrationui.cxx
@@ -29,7 +29,7 @@
#include <sfx2/app.hxx>
#include <svl/itemset.hxx>
#include <vcl/msgbox.hxx>
-
+#include <boost/scoped_ptr.hpp>
namespace svx
{
@@ -40,7 +40,7 @@ namespace svx
SfxItemSet aRegistrationItems( SFX_APP()->GetPool(), SID_SB_DB_REGISTER, SID_SB_DB_REGISTER, 0 );
SvxAbstractDialogFactory* pDialogFactory = SvxAbstractDialogFactory::Create();
- ::std::auto_ptr< SfxAbstractDialog > pDialog;
+ boost::scoped_ptr< SfxAbstractDialog > pDialog;
if ( pDialogFactory )
pDialog.reset( pDialogFactory->CreateSfxDialog( _parentWindow, aRegistrationItems, NULL, RID_SFXPAGE_DBREGISTER ) );
if ( pDialog.get() )