diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-25 11:59:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-25 15:13:45 +0000 |
commit | 7de2777bff9afeacb872c6425d36dc93310302c7 (patch) | |
tree | 7d51ade5ef54f465b98cb182fb5dde2117651f36 /sd/source/ui/func/fuscale.cxx | |
parent | 867256a4ffe7542bb654024b225ab2ca94c9288e (diff) |
sd/source/ui/func boost->std
Change-Id: I67874a8bad1549fd98e22a816d9fa52a17629a1e
Reviewed-on: https://gerrit.libreoffice.org/18850
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/func/fuscale.cxx')
-rw-r--r-- | sd/source/ui/func/fuscale.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx index 6697f6f0f6cc..2c2db012d629 100644 --- a/sd/source/ui/func/fuscale.cxx +++ b/sd/source/ui/func/fuscale.cxx @@ -40,7 +40,6 @@ #include <sfx2/request.hxx> #include <svx/svxdlg.hxx> #include <memory> -#include <boost/scoped_ptr.hpp> namespace sd { @@ -72,7 +71,7 @@ void FuScale::DoExecute( SfxRequest& rReq ) if( !pArgs ) { SfxItemSet aNewAttr( mpDoc->GetPool(), SID_ATTR_ZOOM, SID_ATTR_ZOOM ); - boost::scoped_ptr<SvxZoomItem> pZoomItem; + std::unique_ptr<SvxZoomItem> pZoomItem; SvxZoomEnableFlags nZoomValues = SvxZoomEnableFlags::ALL; nValue = (sal_Int16) mpWindow->GetZoom(); @@ -111,7 +110,7 @@ void FuScale::DoExecute( SfxRequest& rReq ) pZoomItem->SetValueSet( nZoomValues ); aNewAttr.Put( *pZoomItem ); - boost::scoped_ptr<AbstractSvxZoomDialog> pDlg; + std::unique_ptr<AbstractSvxZoomDialog> pDlg; SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { |