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/frmdlg | |
parent | 63e7b7afa75252298606c84e8ec82adaee5fa28a (diff) |
boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
Diffstat (limited to 'sw/source/ui/frmdlg')
-rw-r--r-- | sw/source/ui/frmdlg/frmpage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/frmdlg/frmpage.cxx b/sw/source/ui/frmdlg/frmpage.cxx index 983d9a0d8059..5f272d4f96a7 100644 --- a/sw/source/ui/frmdlg/frmpage.cxx +++ b/sw/source/ui/frmdlg/frmpage.cxx @@ -69,7 +69,7 @@ #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp> #include <vcl/graphicfilter.hxx> #include <vcl/builderfactory.hxx> -#include <boost/scoped_ptr.hpp> +#include <memory> using namespace ::com::sun::star; using namespace ::sfx2; @@ -2768,7 +2768,7 @@ void SwFrmURLPage::Reset( const SfxItemSet *rSet ) const SfxPoolItem* pItem; if ( SfxItemState::SET == rSet->GetItemState( SID_DOCFRAME, true, &pItem)) { - boost::scoped_ptr<TargetList> pList(new TargetList); + std::unique_ptr<TargetList> pList(new TargetList); static_cast<const SfxFrameItem*>(pItem)->GetFrame()->GetTargetList(*pList); if( !pList->empty() ) { @@ -2805,7 +2805,7 @@ bool SwFrmURLPage::FillItemSet(SfxItemSet *rSet) { bool bModified = false; const SwFormatURL* pOldURL = static_cast<const SwFormatURL*>(GetOldItem(*rSet, RES_URL)); - boost::scoped_ptr<SwFormatURL> pFormatURL; + std::unique_ptr<SwFormatURL> pFormatURL; if(pOldURL) pFormatURL.reset(static_cast<SwFormatURL*>(pOldURL->Clone())); else |