do not add non-text to PRIMARY selection in VclQt5Clipboard
commit294d4ed6aab4ae6dbf859626545cf6d75194bacd
authorLuboš Luňák <l.lunak@collabora.com>
Wed, 15 May 2019 14:26:59 +0000 (15 16:26 +0200)
committerKatarina Behrens <Katarina.Behrens@cib.de>
Wed, 15 May 2019 21:36:09 +0000 (15 23:36 +0200)
treece2239a3983064ce6bda6bf1449ea028d0bd0974
parenta348806baf31b4072f02886d142ac6c3e1bba665
do not add non-text to PRIMARY selection in VclQt5Clipboard

E.g. tdf#80853 repeatedly sets the selection, which results
in the entire document getting converted to html.

Other VCL backends seem to be even faster, it looks like they convert
the data only on-demand, but this at least makes things bearable.

Change-Id: Ib08423bd89d7c7065ad0522338979f1ce66701c7
Reviewed-on: https://gerrit.libreoffice.org/72369
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
vcl/qt5/Qt5Clipboard.cxx