summaryrefslogtreecommitdiff
path: root/svx
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:33:16 +0100
commit369aea7f7402e9dc98e9347ae58999dad2d21652 (patch)
tree763262640042e32c44a8c9a6952ca4a9a26e2872 /svx
parent5bfeedfcfd542717f40693524dcb7808f23ab42f (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>
Diffstat (limited to 'svx')
-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 bb9218260d12..1f8d3eee3b67 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;
}