summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuscale.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuscale.cxx')
-rw-r--r--sd/source/ui/func/fuscale.cxx5
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)
{