summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-22 09:41:29 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-27 08:47:56 +0100
commit3dd0edb05639c36abc262f02dd3e0d19c8fb0526 (patch)
treebc760a56c2710814238a05c8ee760efed779c3e2 /vcl
parent9c470318705c1f6074d42c476e6dee3fcb84fc27 (diff)
vcl: add Window::SetClipboard()
Change-Id: I385f64b7d5015c9a34f34a436b0ee2ce6b3a83d3 (cherry picked from commit 98cdb563c1c63e93b4722721354d86848d2cd2c2)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx6
1 files changed, 6 insertions, 0 deletions
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> xClipboard)
+{
+ if (mpWindowImpl->mpFrameData)
+ mpWindowImpl->mpFrameData->mxClipboard = xClipboard;
+}
+
Reference< XClipboard > Window::GetClipboard()
{