summaryrefslogtreecommitdiff
path: root/sw/source/ui/table/convert.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-09-17 11:30:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-09-17 14:12:07 +0100
commitddc280920282ff3e2801e9a79f9dfa8a6c6f5699 (patch)
tree4b477c76374f2f36659ba674c2e5d6796629d45b /sw/source/ui/table/convert.cxx
parent63e7b7afa75252298606c84e8ec82adaee5fa28a (diff)
boost->std
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
Diffstat (limited to 'sw/source/ui/table/convert.cxx')
-rw-r--r--sw/source/ui/table/convert.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/convert.cxx b/sw/source/ui/table/convert.cxx
index e8f166506de4..8c429de2032d 100644
--- a/sw/source/ui/table/convert.cxx
+++ b/sw/source/ui/table/convert.cxx
@@ -34,8 +34,8 @@
#include "app.hrc"
#include "table.hrc"
#include "swabstdlg.hxx"
-#include <boost/scoped_ptr.hpp>
#include <swuiexp.hxx>
+#include <memory>
//keep the state of the buttons on runtime
static int nSaveButtonState = -1; // 0: tab, 1: semicolon, 2: paragraph, 3: other, -1: not yet used
@@ -202,7 +202,7 @@ IMPL_LINK_TYPED( SwConvertTableDlg, AutoFormatHdl, Button*, pButton, void )
SwAbstractDialogFactory* pFact = swui::GetFactory();
OSL_ENSURE(pFact, "SwAbstractDialogFactory fail!");
- boost::scoped_ptr<AbstractSwAutoFormatDlg> pDlg(pFact->CreateSwAutoFormatDlg(pButton, pShell, false, pTAutoFormat));
+ std::unique_ptr<AbstractSwAutoFormatDlg> pDlg(pFact->CreateSwAutoFormatDlg(pButton, pShell, false, pTAutoFormat));
OSL_ENSURE(pDlg, "Dialog creation failed!");
if( RET_OK == pDlg->Execute())
pDlg->FillAutoFormatOfIndex( pTAutoFormat );