summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fupage.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-25 11:59:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-25 15:13:45 +0000
commit7de2777bff9afeacb872c6425d36dc93310302c7 (patch)
tree7d51ade5ef54f465b98cb182fb5dde2117651f36 /sd/source/ui/func/fupage.cxx
parent867256a4ffe7542bb654024b225ab2ca94c9288e (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/fupage.cxx')
-rw-r--r--sd/source/ui/func/fupage.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index bf4fcef1fea1..f652f82a54e3 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -68,7 +68,6 @@
#include "helpids.h"
#include <memory>
-#include <boost/scoped_ptr.hpp>
using namespace com::sun::star;
@@ -281,7 +280,7 @@ const SfxItemSet* FuPage::ExecuteDialog( vcl::Window* pParent )
}
}
- boost::scoped_ptr< SfxItemSet > pTempSet;
+ std::unique_ptr< SfxItemSet > pTempSet;
if( GetSlotID() == SID_SELECT_BACKGROUND )
{
@@ -311,7 +310,7 @@ const SfxItemSet* FuPage::ExecuteDialog( vcl::Window* pParent )
{
// create the dialog
SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
- boost::scoped_ptr<SfxAbstractTabDialog> pDlg( pFact ? pFact->CreateSdTabPageDialog(NULL, &aMergedAttr, mpDocSh, mbDisplayBackgroundTabPage ) : 0 );
+ std::unique_ptr<SfxAbstractTabDialog> pDlg( pFact ? pFact->CreateSdTabPageDialog(NULL, &aMergedAttr, mpDocSh, mbDisplayBackgroundTabPage ) : 0 );
if( pDlg.get() && pDlg->Execute() == RET_OK )
pTempSet.reset( new SfxItemSet(*pDlg->GetOutputItemSet()) );
}