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


User dvo changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|dvo                       |mba
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed Mar  2 07:02:08 -0800 
2005 -------
dvo->mba: The problem is apparently that copying of an OLE object does not work
(during copying), and as a result the (clipboard) document is in an inconsistent
state. Most unfortunately, there is no low-risk way of aborting the copy
operation at the point of failure, since it is deep down in the sw
infra-structure. Since code in several places assumes the presence of a valid
OLE object ref, I must assume that previously the operation always succeeded,
e.g. by placing a dummy object if the real object cannot be constructed.

Some more details & background: The Writer only ever puts documents in the
clipboard. When copying the 'object', the clipboard will contain a document with
a single, anchored OLE.
The copying itself happens in SwOLENode::MakeCopy(..), which attempts to copy
the object, and then calls the SwOLENode constructore, which in turn creates the
(empty) OLE ref that will later cause problems.

The only real low-risk implementation I can see would be to make sure that the
OLE ref would always contain some kind of object; and some kind of dummy OLE if
the real object can't be constructed.

[1] sw/source/core/ndole.cxx

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