basctl/source/basicide/moduldl2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a88b2d841856026ea1a0539d670e07fafd296c6e Author: Caolán McNamara <[email protected]> Date: Sun Sep 14 16:20:12 2014 +0100 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 diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 199c5d4..e727ccf 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 ) ),
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
