From 6f495a195b794257e8b1302d384148be43c04cee Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 17 Sep 2015 15:41:33 +0100 Subject: boost->std Change-Id: I1e6a7fd66f90e6acd803c6cd464f1d73252f7bcb --- sc/source/ui/view/printfun.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/source/ui/view/printfun.cxx') diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index e6e6f7b3160c..02a9d5d2351f 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -70,7 +70,7 @@ #include -#include +#include #include #define ZOOM_MIN 10 @@ -517,7 +517,7 @@ void ScPrintFunc::DrawToDev( ScDocument* pDoc, OutputDevice* pDev, double /* nPr // #114135# ScDrawLayer* pModel = pDoc->GetDrawLayer(); - boost::scoped_ptr pDrawView; + std::unique_ptr pDrawView; if( pModel ) { @@ -1330,7 +1330,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH, if (pBorderData) { - boost::scoped_ptr pBorderDoc(new ScDocument( SCDOCMODE_UNDO )); + std::unique_ptr pBorderDoc(new ScDocument( SCDOCMODE_UNDO )); pBorderDoc->InitUndo( pDoc, 0,0, true,true ); if (pBorderData) pBorderDoc->ApplyAttr( 0,0,0, *pBorderData ); @@ -3028,7 +3028,7 @@ void ScPrintFunc::CalcPages() // calculates aPageRect and pages fr SCROW nPageStartRow = nStartRow; SCROW nLastVisibleRow = -1; - ::boost::scoped_ptr pRowBreakIter(pDoc->GetRowBreakIterator(nPrintTab)); + std::unique_ptr pRowBreakIter(pDoc->GetRowBreakIterator(nPrintTab)); SCROW nNextPageBreak = pRowBreakIter->first(); while (nNextPageBreak != ScRowBreakIterator::NOT_FOUND && nNextPageBreak < nStartRow) // Skip until the page break position is at the start row or greater. -- cgit