[Libreoffice-commits] core.git: basctl/source

Caolán McNamara caolanm at redhat.com
Sun Sep 14 08:21:35 PDT 2014


 basctl/source/basicide/moduldl2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a88b2d841856026ea1a0539d670e07fafd296c6e
Author: Caolán McNamara <caolanm at redhat.com>
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 ) ),


More information about the Libreoffice-commits mailing list