diff options
author | Noel Power <noel.power@novell.com> | 2012-03-01 12:10:56 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-03-01 14:57:57 +0100 |
commit | 1f6625282d773ab798714c562589e380f90b6252 (patch) | |
tree | 31b30b05dec1cfaf5c5aebfec54b96c24ad398e4 | |
parent | d3bdda0e404df6832e43d10e0aad6e276aeba3f3 (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>
(cherry picked from commit 369aea7f7402e9dc98e9347ae58999dad2d21652)
Singed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | svx/source/form/datanavi.cxx | 4 |
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; } |