summaryrefslogtreecommitdiff
path: root/desktop/source/lib/lokclipboard.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-07-20 11:22:09 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-07-20 11:22:09 +0100
commit34116936e5a90400d1fff678719a081d69b484d7 (patch)
tree5cf9aeeac0d1e53fd9a0254be19b73e819a626fc /desktop/source/lib/lokclipboard.hxx
parent7623b7c64819b1488f3767405f226a6a22638a17 (diff)
clipboard: encourage paste to show up by having some dummy content.private/mmeeks/copy-paste
Having an empty system clipboard is a hyper-unusual state, but quite common for lok instances - so hide that with the dummy state. Allows context-menu paste into new documents. Change-Id: I9ce04cb8a0abfa054a67cb94922d7ac5992d1b29
Diffstat (limited to 'desktop/source/lib/lokclipboard.hxx')
-rw-r--r--desktop/source/lib/lokclipboard.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/lokclipboard.hxx b/desktop/source/lib/lokclipboard.hxx
index 1ade5c0a3e0b..3b8f9d8ee7c9 100644
--- a/desktop/source/lib/lokclipboard.hxx
+++ b/desktop/source/lib/lokclipboard.hxx
@@ -77,6 +77,7 @@ class LOKTransferable : public cppu::WeakImplHelper<css::datatransfer::XTransfer
void initFlavourFromMime(css::datatransfer::DataFlavor& rFlavor, OUString sMimeType);
public:
+ LOKTransferable();
LOKTransferable(const size_t nInCount, const char** pInMimeTypes, const size_t* pInSizes,
const char** pInStreams);
LOKTransferable(const OUString& sMimeType, const css::uno::Sequence<sal_Int8>& aSequence);