summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2018-03-14 15:24:14 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-03-14 15:24:38 +0100
commitb203e78a69acf5d84cc245ce7232ffee4a6edcd4 (patch)
tree3d01d372e0dfc80ad53a8bb61a6f2779e897d3d2 /desktop
parent7c354d1bf1ca29a5ae9ee9d6f18dd68b90530043 (diff)
Revert "tdf#96796 - Added clipboard actions for the Android Viewer"
Breaks Android tinderbox This reverts commit 31e939c9f4b29fb2b2e63eb096450cf3da35d67f. Change-Id: Id565c9ef8330c0b3bce2c678facb7605dcf3e356
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/lokandroid.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/desktop/source/lib/lokandroid.cxx b/desktop/source/lib/lokandroid.cxx
index 43286a93aea0..b85619d3dad8 100644
--- a/desktop/source/lib/lokandroid.cxx
+++ b/desktop/source/lib/lokandroid.cxx
@@ -370,23 +370,6 @@ extern "C" SAL_JNI_EXPORT jstring JNICALL Java_org_libreoffice_kit_Document_getT
return pEnv->NewStringUTF(pSelection);
}
-extern "C" SAL_JNI_EXPORT jboolean JNICALL Java_org_libreoffice_kit_Document_paste
- (JNIEnv* pEnv, jobject aObject, jstring mimeType, jstring data)
-{
- LibreOfficeKitDocument* pDocument = getHandle<LibreOfficeKitDocument>(pEnv, aObject);
-
- const char* pMimeType = pEnv->GetStringUTFChars(mimeType, NULL);
- const char* pData = pEnv->GetStringUTFChars(data, NULL);
- const size_t nSize = pEnv->GetStringLength(data);
-
- LibreOfficeKitDocumentClass* pcls = pDocument->pClass;
- bool result = pcls->paste(pDocument, pMimeType, pData, nSize);
- pEnv->ReleaseStringUTFChars(mimeType, pMimeType);
- pEnv->ReleaseStringUTFChars(pData, data);
-
- return result;
-}
-
extern "C" SAL_JNI_EXPORT void JNICALL Java_org_libreoffice_kit_Document_setGraphicSelection
(JNIEnv* pEnv, jobject aObject, jint type, jint x, jint y)
{