Hi,
while migrating the source code from 2.0.3 to 2.0.4, I have broken the
OS/2 clipboard support for text data.
While in .3 I was able to exchange text data with the OS/2 clipboard in
both directions, now with .4 the same code is no longer working as
expected.
I can paste OS/2 text to OOo without problems until I select some text
in the document window and click on Edit menu and then Copy. Text is
copied to OS/2 clipboard as expected.
But now changes to OS/2 clipboard are not recognized by OOo clipboard
object: my code
Reference< XTransferable > SAL_CALL Os2Clipboard::getContents() throw(
RuntimeException )
{
MutexGuard aGuard(m_aMutex);
m_aContents = new Os2Transferable( static_cast< OWeakObject*
>(this) );
return m_aContents;
}
does only update the unformatted text informations for current OOo
clipboard.
So an Edit->Paste is still pasting the text previously selected in doc.
window, while Edit->Paste Special -> unformatted text will paste the
current OS/2 clipboard text :-(
It seems like I don't notify OOo for a complete update of clipboard.
What do you think? what changed in .4 source code?
TIA,
Bye,
Yuri Dario
/*
* member of TeamOS/2 - Italy
* http://www.os2power.com/yuri
* http://www.teamos2.it
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]