https://bugs.freedesktop.org/show_bug.cgi?id=62478
--- Comment #9 from Julien Nabet <[email protected]> --- At least, this naive patch prevents from the crash on my laptop. diff --git a/cui/source/options/dbregister.cxx b/cui/source/options/dbregister.cxx index dfa2def..1d86dc1 100644 --- a/cui/source/options/dbregister.cxx +++ b/cui/source/options/dbregister.cxx @@ -312,7 +312,7 @@ IMPL_LINK_NOARG(DbRegistrationOptionsPage, EditHdl) IMPL_LINK( DbRegistrationOptionsPage, HeaderSelect_Impl, HeaderBar*, pBar ) { - if ( pBar && pBar->GetCurItemId() != ITEMID_TYPE ) + if ( !pBar || pBar->GetCurItemId() != ITEMID_TYPE ) return 0; HeaderBarItemBits nBits = pBar->GetItemBits(ITEMID_TYPE); @@ -341,7 +341,7 @@ IMPL_LINK( DbRegistrationOptionsPage, HeaderSelect_Impl, HeaderBar*, pBar ) IMPL_LINK( DbRegistrationOptionsPage, HeaderEndDrag_Impl, HeaderBar*, pBar ) { - if ( pBar && !pBar->GetCurItemId() ) + if ( !pBar || !pBar->GetCurItemId() ) return 0; if ( !pBar->IsItemMode() ) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
