summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-02 16:41:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-02 16:49:49 +0200
commit075d472a9d120431f0b8731e4dcfe3e8b4ded521 (patch)
tree90f565b0f3c4afdf3294d857969ef724e091a139 /sfx2
parent3e1bd6961d3317fe2bef4a34a41f5d1fc2a33008 (diff)
Use std::auto_ptr::reset where applicable
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/securitypage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index e8130f44e062..fba3f5c718ed 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -430,7 +430,7 @@ SfxTabPage* SfxSecurityPage::Create( Window * pParent, const SfxItemSet & rItemS
SfxSecurityPage::SfxSecurityPage( Window* pParent, const SfxItemSet& rItemSet )
: SfxTabPage(pParent, "SecurityInfoPage", "sfx/ui/securityinfopage.ui", rItemSet)
{
- m_pImpl = std::auto_ptr< SfxSecurityPage_Impl >(new SfxSecurityPage_Impl( *this, rItemSet ));
+ m_pImpl.reset(new SfxSecurityPage_Impl( *this, rItemSet ));
}