diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 11:30:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 14:12:07 +0100 |
commit | ddc280920282ff3e2801e9a79f9dfa8a6c6f5699 (patch) | |
tree | 4b477c76374f2f36659ba674c2e5d6796629d45b /sw/source/ui/fldui | |
parent | 63e7b7afa75252298606c84e8ec82adaee5fa28a (diff) |
boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
Diffstat (limited to 'sw/source/ui/fldui')
-rw-r--r-- | sw/source/ui/fldui/DropDownFieldDialog.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldedt.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/fldui/DropDownFieldDialog.cxx b/sw/source/ui/fldui/DropDownFieldDialog.cxx index 0886666bc541..083b7efe6214 100644 --- a/sw/source/ui/fldui/DropDownFieldDialog.cxx +++ b/sw/source/ui/fldui/DropDownFieldDialog.cxx @@ -25,7 +25,7 @@ #include <flddropdown.hxx> #include <fldui.hrc> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace ::com::sun::star; @@ -94,7 +94,7 @@ void sw::DropDownFieldDialog::Apply() { rSh.StartAllAction(); - boost::scoped_ptr<SwDropDownField> const pCopy( + std::unique_ptr<SwDropDownField> const pCopy( static_cast<SwDropDownField *>( pDropField->CopyField() ) ); pCopy->SetPar1(sSelect); diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx index 91c2dcc4b272..4d4131039c62 100644 --- a/sw/source/ui/fldui/fldedt.cxx +++ b/sw/source/ui/fldui/fldedt.cxx @@ -46,7 +46,7 @@ #include <com/sun/star/document/XDocumentProperties.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> -#include <boost/scoped_ptr.hpp> +#include <memory> #include <swuiexp.hxx> void SwFieldEditDlg::EnsureSelection(SwField *pCurField, SwFieldMgr &rMgr) @@ -329,7 +329,7 @@ IMPL_LINK_NOARG_TYPED(SwFieldEditDlg, AddressHdl, Button*, void) SwAbstractDialogFactory* pFact = swui::GetFactory(); OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!"); - boost::scoped_ptr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog( this, aSet, + std::unique_ptr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog( this, aSet, pSh->GetView().GetViewFrame()->GetFrame().GetFrameInterface(), RC_DLG_ADDR )); OSL_ENSURE(pDlg, "Dialog creation failed!"); |