diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-22 09:41:29 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-22 13:34:19 +0200 |
commit | 98cdb563c1c63e93b4722721354d86848d2cd2c2 (patch) | |
tree | 08fc60e2c365e9411a443318148c1e919a272d56 /vcl/source/window | |
parent | 8a6f112cac7d03e0687592e9d76b4bc4edd26c3c (diff) |
vcl: add Window::SetClipboard()
Change-Id: I385f64b7d5015c9a34f34a436b0ee2ce6b3a83d3
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index f770bda019a4..f44f1a2c03b1 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -3376,6 +3376,12 @@ void Window::ImplCallActivateListeners( vcl::Window *pOld ) } } +void Window::SetClipboard(Reference<XClipboard> xClipboard) +{ + if (mpWindowImpl->mpFrameData) + mpWindowImpl->mpFrameData->mxClipboard = xClipboard; +} + Reference< XClipboard > Window::GetClipboard() { |