summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-28 09:44:37 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-11-03 16:36:24 +0100
commit155044c76e5baa2c6d5193a0a8bb5165daae8095 (patch)
tree4279865d31ee8ea02d07569e33e6e4cda7db9f1a /include/vcl
parent4a669a434527d07f49bf2a35796ee4b421952bf6 (diff)
vcl: getWindow() -> setClipboard() in ITiledRenderable
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. (cherry picked from commit bfd79be417358822023691cf7b7b2946906100ca) Conflicts: sc/inc/docuno.hxx sd/source/ui/inc/unomodel.hxx sw/inc/unotxdoc.hxx Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/ITiledRenderable.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index 2a42f1956c6d..1bf14d860629 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -148,8 +148,8 @@ public:
return OUString();
}
- /// Returns the current vcl::Window of the component.
- virtual vcl::Window* getWindow() = 0;
+ /// Sets the clipboard of the component.
+ virtual void setClipboard(const css::uno::Reference<css::datatransfer::clipboard::XClipboard>& xClipboard) = 0;
/// If the current contents of the clipboard is something we can paste.
virtual bool isMimeTypeSupported() = 0;