From 3dd0edb05639c36abc262f02dd3e0d19c8fb0526 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 22 Oct 2015 09:41:29 +0200 Subject: vcl: add Window::SetClipboard() Change-Id: I385f64b7d5015c9a34f34a436b0ee2ce6b3a83d3 (cherry picked from commit 98cdb563c1c63e93b4722721354d86848d2cd2c2) --- vcl/source/window/window.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vcl') diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index e8d2b9615d92..0a01a14f4530 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3355,6 +3355,12 @@ void Window::ImplCallActivateListeners( vcl::Window *pOld ) } } +void Window::SetClipboard(Reference xClipboard) +{ + if (mpWindowImpl->mpFrameData) + mpWindowImpl->mpFrameData->mxClipboard = xClipboard; +} + Reference< XClipboard > Window::GetClipboard() { -- cgit