summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-03-01 12:10:56 +0000
committerMichael Stahl <mstahl@redhat.com>2012-03-01 13:42:36 +0100
commit0aaa35c6d3b07a273af6a1be2d26add4a9d537cd (patch)
tree9280744a179edf61f3383fee94feff89ac8d624d
parent3bb279c73e0034c7c50e5561de82c681a2f3b3b9 (diff)
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@redhat.com>
-rw-r--r--svx/source/form/datanavi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index e2e0b175d3..6718cd1d9f 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -306,7 +306,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();
@@ -1883,7 +1884,6 @@ namespace svxform
m_aTabCtrl.SetPageText( nId, sNewName );
bIsDocModified = true;
}
- delete(pPage);
}
break;
}