diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-14 09:21:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-14 12:54:25 +0000 |
commit | 22b80ac8e213ff63ce4f60e7d491f12cb42db313 (patch) | |
tree | b00f1ed362747a05d79686a8709c3408cfdee59b /cui/source/dialogs/pastedlg.cxx | |
parent | d8026ad65c8d50868f0f2fc0d2bd95820cddea83 (diff) |
boost->std
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c
Reviewed-on: https://gerrit.libreoffice.org/18564
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/dialogs/pastedlg.cxx')
-rw-r--r-- | cui/source/dialogs/pastedlg.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index e41cbc22509a..8aac59a7e2d3 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -35,7 +35,6 @@ #include <vcl/settings.hxx> #include <dialmgr.hxx> -#include <boost/scoped_ptr.hpp> SvPasteObjectDialog::SvPasteObjectDialog( vcl::Window* pParent ) : ModalDialog(pParent, "PasteSpecialDialog", "cui/ui/pastespecial.ui") @@ -186,7 +185,7 @@ SotClipboardFormatId SvPasteObjectDialog::GetFormat( const TransferableDataHelpe if( aTypeName.isEmpty() && aSourceName.isEmpty() ) { - boost::scoped_ptr<ResMgr> pMgr(ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() )); + std::unique_ptr<ResMgr> pMgr(ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() )); // global resource from svtools (former so3 resource) if( pMgr ) aSourceName = OUString( ResId( STR_UNKNOWN_SOURCE, *pMgr ) ); |