Change-Id: I26cbe5cfa226465114608d6960c6ffaec96dddbf
This commit is contained in:
Michael Meeks 2019-08-05 20:48:50 -04:00
parent da455c486a
commit f25d9eb10e

View file

@ -928,13 +928,10 @@ bool ChildSession::getClipboard(const char* /*buffer*/, int /*length*/, const st
char **pOutStreams = nullptr;
bool success = false;
{
std::unique_lock<std::mutex> lock(_docManager.getDocumentMutex());
getLOKitDocument()->setView(_viewId);
success = getLOKitDocument()->getSelection(pMimeTypes, &nOutCount, &pOutMimeTypes,
&pOutSizes, &pOutStreams);
}
if (!success || nOutCount == 0)
{