From 963970f3a3fded6d152cc4c6eefb61359adad567 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 30 Dec 2013 17:14:54 +0000 Subject: std::auto_ptr->boost::scoped_ptr Change-Id: Icb67d5a39c8ae05947be9da950a1feaaa85bc9d8 --- sc/source/ui/view/tabvwshh.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sc/source/ui/view') diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx index 84e805bfba9b..3dad53e34a50 100644 --- a/sc/source/ui/view/tabvwshh.cxx +++ b/sc/source/ui/view/tabvwshh.cxx @@ -36,7 +36,7 @@ #include "retypepassdlg.hxx" #include "tabprotection.hxx" -#include +#include using namespace com::sun::star; @@ -261,11 +261,9 @@ sal_Bool ScTabViewShell::HasAccessibilityObjects() bool ScTabViewShell::ExecuteRetypePassDlg(ScPasswordHash eDesiredHash) { - using ::std::auto_ptr; - ScDocument* pDoc = GetViewData()->GetDocument(); - auto_ptr pDlg(new ScRetypePassDlg(GetDialogParent())); + boost::scoped_ptr pDlg(new ScRetypePassDlg(GetDialogParent())); pDlg->SetDataFromDocument(*pDoc); pDlg->SetDesiredHash(eDesiredHash); if (pDlg->Execute() != RET_OK) -- cgit