[Libreoffice-commits] .: Branch 'libreoffice-3-5' - svx/source

Michael Stahl mst at kemper.freedesktop.org
Thu Mar 1 04:33:51 PST 2012


 svx/source/form/datanavi.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 369aea7f7402e9dc98e9347ae58999dad2d21652
Author: Noel Power <noel.power at novell.com>
Date:   Thu Mar 1 12:10:56 2012 +0000

    fix crash using instances dialog of dataform navigator fdo#44816
    
    also silence a valgrind  'Conditional jump or move depends on uninitialised value(s)' where initial state of a checkbox was undefined
    (cherry picked from commit 7b860d4970604f08ebd2e818bfd63891dd940804)
    
    Signed-off-by: Michael Stahl <mstahl at redhat.com>

diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index bb92182..1f8d3ee 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -304,7 +304,8 @@ namespace svxform
         m_pNaviWin      ( _pNaviWin ),
         m_bHasModel     ( false ),
         m_eGroup        ( _eGroup ),
-        m_TbxImageList  ( SVX_RES( IL_TBX_BMPS ) )
+        m_TbxImageList  ( SVX_RES( IL_TBX_BMPS ) ),
+        m_bLinkOnce     ( false )
 
     {
         FreeResource();
@@ -1881,7 +1882,6 @@ namespace svxform
                             m_aTabCtrl.SetPageText( nId, sNewName );
                             bIsDocModified = true;
                         }
-                        delete(pPage);
                     }
                     break;
                 }


More information about the Libreoffice-commits mailing list