From 57edeebb72a69d4cee1dc2cc2e5a93b8f0410624 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 29 May 2019 17:53:35 +0100 Subject: lok: disable calc char-set dialog for HTML when pasting. Change-Id: I3ec9e98549d06ae3e6b4ede89215a5137d01ccab --- sc/source/ui/view/viewfun5.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index a02dbd0e60c9..c4a936bba2fc 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -306,7 +306,8 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId, tools::SvRef xStream; if ( aDataHelper.GetSotStorageStream( nFormatId, xStream ) && xStream.is() ) { - if (nFormatId == SotClipboardFormatId::HTML) + if (nFormatId == SotClipboardFormatId::HTML && + !comphelper::LibreOfficeKit::isActive()) { // Launch the text import options dialog. For now, we do // this for html pasting only, but in the future it may -- cgit