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


User tl changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|tl                        |mav
--------------------------------------------------------------------------------
                    Status|STARTED                   |NEW
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Mar  6 05:44:05 -0800 
2006 -------
Files changed:
- sfx2/inc/sfxbasemodel.hxx    (gain acces to postEvent_Impl in derived classes)

- starmath/inc/unomodel.hxx    (overload lock-/unlockControllers to send
notification for SFX_EVENT_VISAREACHANGED)
- starmath/source/unomodel.cxx


TL->MAV:
The above code changes will work if a client is available.
For example in Writers unoframe.cxx we modified
SwXTextEmbeddedObject::getEmbeddedObject to have the following lines

: if ( svt::EmbeddedObjectRef::TryRunningState( xIP ) )
:         {
:     SwWrtShell *pSh = pDoc->GetDocShell()->GetWrtShell();
:     SfxInPlaceClient* pClient = pSh->GetView().FindIPClient( xIP, (Window *)
&pSh->GetView().GetEditWin() );
:     if ( !pClient )
:         pClient = new SwOleClient( &pSh->GetView(),
&pSh->GetView().GetEditWin(), pOleNode->GetOLEObj().GetObject() );

But since that location isn't the best of choices please have the client be
created elsewhere.
Also check if it is Ok to have the change visible even if unlockControllers was
not yet called.



---------------------------------------------------------------------
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