diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 08:50:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 10:33:26 +0200 |
commit | b8ea41a98ded7dc2eae22f05ad427b6958702d0b (patch) | |
tree | 2a3757daa64f816b472a068208a7696e214ddd01 /cui/source/inc | |
parent | 05dfa2f6bfaffd0caa380d246027082bd2969aba (diff) |
cui: std::auto_ptr -> std::unique_ptr
Change-Id: Iea8b3def77842541129c16346270aa262654fea4
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/passwdomdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index 1fe8c58551f8..179d99bca75a 100644 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -30,7 +30,7 @@ struct PasswordToOpenModifyDialog_Impl; class PasswordToOpenModifyDialog : public SfxModalDialog { - std::auto_ptr< PasswordToOpenModifyDialog_Impl > m_pImpl; + std::unique_ptr< PasswordToOpenModifyDialog_Impl > m_pImpl; // disallow use of copy c-tor and assignment operator PasswordToOpenModifyDialog( const PasswordToOpenModifyDialog & ); diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 3b7240675e13..a3d3f0df267b 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -85,12 +85,12 @@ public: SvTreeListEntry * insertEntry(OUString const & rText, sal_uInt16 nBitmap, SvTreeListEntry * pParent, bool bChildrenOnDemand, - std::auto_ptr< SFEntry > aUserData, + std::unique_ptr< SFEntry > && aUserData, const OUString& factoryURL ); SvTreeListEntry * insertEntry(OUString const & rText, sal_uInt16 nBitmap, SvTreeListEntry * pParent, bool bChildrenOnDemand, - std::auto_ptr< SFEntry > aUserData ); + std::unique_ptr< SFEntry > && aUserData ); void deleteTree( SvTreeListEntry * pEntry ); void deleteAllTree( ); }; |