From 075d472a9d120431f0b8731e4dcfe3e8b4ded521 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 2 Oct 2013 16:41:03 +0200 Subject: Use std::auto_ptr::reset where applicable (avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42 --- reportdesign/source/ui/report/ReportSection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reportdesign') diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index ffcfbc20fad8..f489319fa89e 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -121,7 +121,7 @@ OReportSection::~OReportSection() if ( m_pReportListener.is() ) m_pReportListener->dispose(); - m_pFunc = ::std::auto_ptr(); + m_pFunc.reset(); { ::std::auto_ptr aTemp( m_pView); -- cgit v1.2.3