To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68415


User cmc changed the following:

                What    |Old value                 |New value
================================================================================
          Ever confirmed|                          |1
--------------------------------------------------------------------------------
                  Status|UNCONFIRMED               |NEW
--------------------------------------------------------------------------------
              Issue type|DEFECT                    |PATCH
--------------------------------------------------------------------------------
        Target milestone|OOo 2.x                   |---
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Tue Dec 16 12:54:30 +0000 
2008 -------
DrawView::ModelHasChanged
has Broadcast(SfxStyleSheetPoolHint(SFX_STYLESHEETPOOL_CHANGES)
and
SfxCommonTemplateDialog_Impl::SFX_NOTIFY has
ULONG nId = ((SfxSimpleHint&) rHint).GetId();

so the SfxStyleSheetPoolHint has been cast to a SfxSimpleHint

but

class SVL_DLLPUBLIC SfxSimpleHint: public SfxHint
{
private:
        ULONG nId;

while...

class SVT_DLLPUBLIC SfxStyleSheetPoolHint : public SfxHint
{
        USHORT nHint;

so the cast isn't safe and the nId retrieved is a mangle of the nHint short +
following random bytes

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to