diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-14 16:20:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-09-14 16:21:03 +0100 |
commit | a88b2d841856026ea1a0539d670e07fafd296c6e (patch) | |
tree | 38a25fa9496be1c9f6db8dc2377dc23465f8365b /basctl | |
parent | 9fecabec60d63b2b5eefafc81308f13f770e67b9 (diff) |
Resolves: fdo#81039 crash on adding new macro library
regression from
commit bf28399df0b73364b12309032e4a8b571389c2cf
Date: Fri Feb 7 15:54:45 2014 +0100
auto_ptr -> heap_ptr
Change-Id: Ib54c708cbdcb97a7489df4a1b3a7e9367f81ff6b
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 199c5d4986c9..e727ccf6ebe1 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1517,7 +1517,7 @@ void createLibImpl( Window* pWin, const ScriptDocument& rDocument, if( pNewLibEntry ) { - o3tl::heap_ptr<Entry>(new Entry(OBJ_TYPE_MODULE)); + e.reset(new Entry(OBJ_TYPE_MODULE)); SvTreeListEntry* pEntry_ = pBasicBox->AddEntry( aModName, Image( IDEResId( RID_IMG_MODULE ) ), |