From bb90d11bd892b6114aa2515549f62967428cef48 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 4 Jan 2014 16:28:38 +0000 Subject: std::auto_ptr -> boost::scoped_ptr Change-Id: Iec75c8356aac9d75a478eaae329dbd2400e3a06b --- cui/source/dialogs/scriptdlg.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cui') diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 141c65fdd46e..15217c61035b 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -60,6 +60,7 @@ #include #include #include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -922,9 +923,7 @@ void SvxScriptOrgDialog::createEntry( SvTreeListEntry* pEntry ) } } - SAL_WNODEPRECATED_DECLARATIONS_PUSH - std::auto_ptr< CuiInputDialog > xNewDlg( new CuiInputDialog( static_cast(this), nMode ) ); - SAL_WNODEPRECATED_DECLARATIONS_POP + boost::scoped_ptr< CuiInputDialog > xNewDlg( new CuiInputDialog( static_cast(this), nMode ) ); xNewDlg->SetObjectName( aNewName ); do @@ -1052,9 +1051,7 @@ void SvxScriptOrgDialog::renameEntry( SvTreeListEntry* pEntry ) } sal_uInt16 nMode = INPUTMODE_RENAME; - SAL_WNODEPRECATED_DECLARATIONS_PUSH - std::auto_ptr< CuiInputDialog > xNewDlg( new CuiInputDialog( static_cast(this), nMode ) ); - SAL_WNODEPRECATED_DECLARATIONS_POP + boost::scoped_ptr< CuiInputDialog > xNewDlg( new CuiInputDialog( static_cast(this), nMode ) ); xNewDlg->SetObjectName( aNewName ); sal_Bool bValid; -- cgit