http://openoffice.org/bugzilla/show_bug.cgi?id=117482
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[email protected] |[email protected] --- Comment #1 from [email protected] 2011-03-21 00:32:07 --- @mav: in SfxBaseModel::Notify http://hg.services.openoffice.org/DEV300/file/DEV300_m103/sfx2/source/doc/sfxbasemodel.cxx#l2556 SfxEventHint* pNamedHint = PTR_CAST( SfxEventHint, &rHint ); http://hg.services.openoffice.org/DEV300/file/DEV300_m103/sfx2/source/doc/sfxbasemodel.cxx#l2568 pNamedHint is always a null pointer when the hint is an SfxViewEventHint as the code does not enter the if block, postEvent_Impl is not invoked as it does in OOO330_m20 http://hg.services.openoffice.org/DEV300/file/DEV300_m103/sfx2/source/doc/sfxbasemodel.cxx#l2644 The issue is introduced with http://hg.services.openoffice.org/cws/fwk160/diff/06f16295789a/sfx2/source/config/evntconf.cxx TYPEINIT1(SfxViewEventHint, SfxHint); with this code PTR_CAST fails to cast to an SfxEventHint. Looks like it should be: TYPEINIT1(SfxViewEventHint, SfxEventHint); -- Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Bugzilla. Please log into the website and enter your comments. --------------------------------------------------------------------- -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help
