summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/txtnum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/txtnum.cxx')
-rw-r--r--sw/source/uibase/shells/txtnum.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtnum.cxx b/sw/source/uibase/shells/txtnum.cxx
index c61382cb92cc..8558fbe8e710 100644
--- a/sw/source/uibase/shells/txtnum.cxx
+++ b/sw/source/uibase/shells/txtnum.cxx
@@ -40,7 +40,7 @@
#include <svx/nbdtmgfact.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
-#include <boost/scoped_ptr.hpp>
+#include <memory>
void SwTextShell::ExecEnterNum(SfxRequest &rReq)
{
@@ -183,7 +183,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialog creation failed!");
- boost::scoped_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateSwTabDialog( DLG_SVXTEST_NUM_BULLET,
+ std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateSwTabDialog( DLG_SVXTEST_NUM_BULLET,
GetView().GetWindow(), &aSet, GetShell()));
OSL_ENSURE(pDlg, "Dialog creation failed!");
SFX_REQUEST_ARG( rReq, pPageItem, SfxStringItem, FN_PARAM_1, false );