Hi Markus,

On Tuesday, 2011-08-16 17:31:10 +0200, Eike Rathke wrote:

> No, no new member variable, what I was thinking of is to detect whether
> the original source document of the clipboard document is identical to
> the current document. There is a way via the document pool, I'll dig out
> details.

That was easy:

    if (!pDocument->IsClipboardSource() || sheets_unequal)

should do.

  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpAYZVGQQyvr.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to