lok: clipboard: per view clipboard creation

Desktop / LibreOffice - Michael Meeks [collabora.com] - 2 August 2019 15:41 EDT

A bit brutal, but the mess around clipboard instantiation is awful.

f59e986d0dc0 lok: clipboard: per view clipboard creation.
desktop/qa/desktop_lib/test_desktop_lib.cxx | 6 +-
desktop/source/lib/init.cxx | 71 +++++++++++++++------
desktop/source/lib/lokclipboard.cxx | 98 ++++++++++++++++++++++++++---
desktop/source/lib/lokclipboard.hxx | 73 ++++++++++++++++++---
include/LibreOfficeKit/LibreOfficeKit.h | 4 +-
include/LibreOfficeKit/LibreOfficeKit.hxx | 6 +-
6 files changed, 214 insertions(+), 44 deletions(-)

Upstream: cgit.freedesktop.org


  • Share